コード例 #1
0
        public async Task <OrganizationUnitDto> MoveOrganizationUnitAsync(Guid id, MoveOrganizationUnitInput input)
        {
            await _organizationUnitManager.MoveAsync(id, input.NewParentId);

            return(await CreateOrganizationUnitDto(
                       await _organizationUnitRepository.GetAsync(id)
                       ));
        }
コード例 #2
0
 public async Task <OrganizationUnitDto> MoveOrganizationUnitAsync(Guid id, MoveOrganizationUnitInput input)
 {
     return(await _organizationUnitAppService.MoveOrganizationUnitAsync(id, input));
 }