public ChangeHospitalRegistrationForNewSectionCommandAnswer ChangeHospitalRegistrationForNewSection( ChangeHospitalRegistrationForNewSectionCommand command) { return new ChangeHospitalRegistrationForNewSectionCommandAnswer { Token = (Guid)command.Token, FreeHospitalSectionsForRegistration = GetFreeSectionsList(command.Date, command.Token.Value), Date = command.Date }; }
public ActionResult ChangeHospitalRegistrationForNewSection(ChangeHospitalRegistrationForNewSectionCommand command) { var answer = _hospitalRegistrationsService.ChangeHospitalRegistrationForNewSection(command); return View(answer); }