I am trying to make an ATM Application in .NET Framework using C#. I have implemented some part of it using 3 tier architecture.
As the user chooses to withdraw cash, flow moves from VIEW to LogicLayer as I have added reference of VIEW in LogicLayer. Now I need to call a method of view from LogicLayer. Can some one tell me how to do that?
Thanks
class DataAccessLayerClass
{
BusinessObjectClass read(BusinessObjectClass bo)
{
//read from file if user exists then return his credentials
//else
//call INVALID USERNAME / PASSWORD errror method in VIEW.
}
}
I can flow from VIEW to LL and DAl, but how to flow in reverse direction? As desired in this case