public async Task <IActionResult> UsersWithRelatedPersons(RelatedType RelatedTypeId) { var route = Request.Path.Value; var result = await _userService.UsersWithRelatedPersons(RelatedTypeId); var reportPath = ReportUsersWithRelatedPerson.ReportUsers(_web, _uriService.GetBaseUrl(), result); return(Ok(new GenericResponseWithDataList <UserResponseModel>(result, true, "ReportPdfPathView: " + reportPath))); }