Esempio n. 1
0
        public async Task <ActionResult <OrganizationDetailDto> > GetOrganizationByIdAsync(Guid id)
        {
            var organizationDto = await _utilService
                                  .GetOrganizationByIdAsync(id)
                                  .ConfigureAwait(false);

            if (organizationDto.Name == null)
            {
                return(NotFound());
            }
            return(organizationDto);
        }