public async Task <IActionResult> Get([FromRoute] Guid activityId) { var(_, isFailure, result, error) = await _activitiesService.Get(activityId); if (isFailure) { return(BadRequest(error)); } return(Ok(result)); }