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