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