public async Task <IEnumerable <T> > GetAllAsync() { return(await Task.Run(() => { return dbContext.Set <T>().AsEnumerable <T>(); })); }