public T GetId(int id) { return(_context.Set <T>().Find(id)); }
public BaseRepositoryAsync(MarketListContext marketListContext) { Context = marketListContext; DbSet = Context.Set <T>(); }
public BaseRepository(MarketListContext context) { _context = context; _enumer = context.Set <T>().AsQueryable(); }