public UnitOfWork(ApplicationDbContext db) { _db = db; Category = new CategoryRepository(_db); SP_Call = new SP_CALL(_db); }
public UnitOfWork(ApplicationDbContext db) { _db = db; Category = new CategoryRepository(_db); StoredProcedureCall = new StoredProcedureCall(_db); }
public UnitOfWork(ApplicationDbContext _db) { this._db = _db; Category = new CategoryRepository(_db); SP_Call = new SP_Call(_db); }
public ExtendedUnitOfWork(ApplicationDbContext dbContext) { _dbContext = dbContext; Category = new CategoryRepository(_dbContext); CoverType = new CoverTypeRepository(_dbContext); }
public UnitOfWork(ApplicationDbContext context) { _context = context; Category = new CategoryRepository(_context); CoverType = new CoverTypeRepository(_context); }