public IActionResult OrganizationGetSensibleData(int Id) { OrganizationGetSensibleData organizationGetSensibleData = new OrganizationGetSensibleData(); organizationGetSensibleData.organizationGet = _service.Get(Id).ToApi(); organizationGetSensibleData.SensibleDataGetByOrganization = _sensibleDataService.Get(Id).ToApi(); return(Ok(organizationGetSensibleData)); }
public IActionResult Get([FromRoute, SwaggerParameter("Id of SensibleData", Required = true)] int Id) { SensibleDataGetByOrganization sensibleDataGetByOrganization = _service.Get(Id).ToApi(); return(Ok(sensibleDataGetByOrganization)); }