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