public ReservationManagerInfoDto Create(ReservationManagerInfoCreateOrupdateDto inputDto) { var resManager = new ReservationManagerInfo(GuidGenerator.Create(), inputDto.Name, inputDto.OpenDays); CreateResCondition(inputDto.ConditionCreateDtos, resManager.ReservationConditions, resManager.Id); var resManagerDto = _rmInfoRepository.InsertAsync(resManager).Result; CurrentUnitOfWork.CompleteAsync(); return(ObjectMapper.Map <ReservationManagerInfo, ReservationManagerInfoDto>(resManagerDto)); }