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