public BaseRepository(HamburgersContext context) { this.context = context; this.dbset = context.Set<TEntity>(); }
public UnitOfWork(HamburgersContext dbcontext) { _context = dbcontext; }
public BaseRepository(HamburgersContext context) { this.context = context; this.dbset = context.Set<TEntity>(); }
public UnitOfWork(HamburgersContext dbcontext) { _context = dbcontext; }