public async Task <IActionResult> GetStudyUserTasks(int studyId, int userId) { var getAllUserTasks = await _taskLogic.GetUserTasks(studyId, userId); if (getAllUserTasks == null) { return(NotFound()); } return(Ok(getAllUserTasks)); }
public async Task <IActionResult> GetStudyUserTasks(int studyId, int userId) { var getAllUserTasks = await _taskLogic.GetUserTasks(studyId, userId); if (getAllUserTasks == null) { return(NotFound()); } return(Ok(getAllUserTasks)); }