public SQLDepotRepository(DrugsContext context) : base(context) { dbSet = db.Depot; }
public SQLDrugUnitRepository(DrugsContext context) : base(context) { entity = db.DrugUnit; }
public SQLBaseRepository(DrugsContext context) { this.db = context; }
public DrugsController(DrugsContext context) { _context = context; }
public SQLDepotRepository(DrugsContext context) : base(context) { entity = db.Depot; }
public SQLDrugUnitRepository(DrugsContext context) : base(context) { dbSet = db.DrugUnit; }
public EFUnitOfWork() { db = new DrugsContext(); }