public async Task <IEnumerable <T> > GetAll() { var returnList = await _userTaskContext.Set <T>().ToListAsync(); return(returnList); }
public async Task <IEnumerable <Models.Task> > GetAllWithUser() { return(await _userTaskContext.Set <Models.Task>().Include(e => e.User).ToListAsync()); }