public Startup(IConfiguration configuration) { Configuration = configuration; using (var db = new SalesMVCContext()) { //db.Database.EnsureDeleted(); db.Database.EnsureCreated(); } }
public DepartmentsController(SalesMVCContext context) { _context = context; }
public SellerService(SalesMVCContext context) { _context = context; }
public DepartmentService(SalesMVCContext context) { _context = context; }
public SalesRecordService(SalesMVCContext context) { _context = context; }
public AccountController(SalesMVCContext context) { _context = context; }
public CustomersController(SalesMVCContext context) { _context = context; }