Exemple #1
0
 public Startup(IConfiguration configuration)
 {
     Configuration = configuration;
     using (var db = new SalesMVCContext())
     {
         //db.Database.EnsureDeleted();
         db.Database.EnsureCreated();
     }
 }
Exemple #2
0
 public DepartmentsController(SalesMVCContext context)
 {
     _context = context;
 }
Exemple #3
0
 public SellerService(SalesMVCContext context)
 {
     _context = context;
 }
Exemple #4
0
 public DepartmentService(SalesMVCContext context)
 {
     _context = context;
 }
Exemple #5
0
 public SalesRecordService(SalesMVCContext context)
 {
     _context = context;
 }
Exemple #6
0
 public AccountController(SalesMVCContext context)
 {
     _context = context;
 }
Exemple #7
0
 public CustomersController(SalesMVCContext context)
 {
     _context = context;
 }