public async Task <IActionResult> GetMyTasks(int id) { var user = await GetCurrentUserAsync(); var tasks = _prepOpsDataAccess.GetTasksAssignedToUser(id, user); var taskView = tasks.Select(t => new TaskSignupViewModel(t)); return(Json(taskView)); }