示例#1
0
        public OfficeUpdateDto GetOfficeToUpdate(Guid id)
        {
            OfficeUpdateDto dto = _enterpriseRepo.GetOffice(id).ToUpdateDto();

            if (dto == null)
            {
                throw new Exception();
            }

            return(dto);
        }