Example #1
0
 public NBPController()
     : base()
 {
     this.context = new BankContext();
     //disable creating of proxies
     (context as BankContext).Configuration.ProxyCreationEnabled = false;
     NBPReader = new NBPXMLReader();
 }
Example #2
0
 public NBPController(IBankContext context, INBPReader NBPReader)
 {
     this.context = context;
     this.NBPReader = NBPReader;
 }