public async Task <OrganizationUnitDto> MoveOrganizationUnitAsync(Guid id, MoveOrganizationUnitInput input) { await _organizationUnitManager.MoveAsync(id, input.NewParentId); return(await CreateOrganizationUnitDto( await _organizationUnitRepository.GetAsync(id) )); }
public async Task <OrganizationUnitDto> MoveOrganizationUnitAsync(Guid id, MoveOrganizationUnitInput input) { return(await _organizationUnitAppService.MoveOrganizationUnitAsync(id, input)); }