public async Task <IActionResult> Create(OrganizationDto input)
        {
            if (!ModelState.IsValid)
            {
                NotifyModelStateErrors();
                Result(input);
            }

            await _organizationAppService.Create(input);

            return(Result(input));
        }
示例#2
0
 public Task <OrganizationDto> Create(CreateOrUpdateOrganizationDto input)
 {
     return(_organizationAppService.Create(input));
 }