public async Task <IActionResult> ListAllTasksAsync() { var usertasks = await _userTaskService.ListAllTasksAsync(); if (usertasks == null) { return(NotFound($"There are no tasks with users.")); } return(Ok(usertasks)); }