public async Task <T> ReadById(object id) { return(await belatrixDbContext.Set <T>().FindAsync(id)); }
public async Task <IEnumerable <T> > Read() { return(await _db.Set <T>().AsNoTracking().ToListAsync()); }