public CustomersController() { _content = new CoreBankingApplication.Data.ApplicationDbContext(); }
private CoreBankingApplication.Data.ApplicationDbContext _content; //Creating an instance of the database connection. //Creating an instance of the database connection. public AccountsController() { _content = new CoreBankingApplication.Data.ApplicationDbContext(); }