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