public UnitOfWork() { _context = new ResturantManagementEntities(); }
public Repository(ResturantManagementEntities dbContext) { Context = dbContext; this.DbSet = Context.Set <TEntity>(); }
public UnitOfWork() { _context = new ResturantManagementEntities(); }
public Repository(ResturantManagementEntities dbContext) { Context = dbContext; this.DbSet = Context.Set <TEntity>(); }