コード例 #1
0
 public CustomersController()
 {
     _content = new CoreBankingApplication.Data.ApplicationDbContext();
 }
コード例 #2
0
        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();
        }