public PersonViewModel()
 {
     FullName              = new FullNameViewModel();
     AlternativeName       = new AlternativeFullNameViewModel();
     DateOfBirth           = new DateOfBirthViewModel();
     BirthDetailsViewModel = new BirthDetailsViewModel();
     JobTitle              = new JobTitleViewModel();
     Address                        = new AddressViewModel();
     BusinessPhoneNumber            = new BusinessPhoneNumberViewModel();
     BusinessExtension              = new BusinessExtensionViewModel();
     PersonalEmailAddress           = new PersonalEmailAddressViewModel();
     PersonalMobileNumber           = new PersonalMobileNumberViewModel();
     Nationality                    = new NationalityViewModel();
     PassportViewModel              = new PassportViewModel();
     UndischargedBankruptViewModel  = new UndischargedBankruptViewModel();
     DisqualifiedDirectorViewModel  = new DisqualifiedDirectorViewModel();
     RestraintOrdersViewModel       = new RestraintOrdersViewModel();
     UnspentConvictionsViewModel    = new UnspentConvictionsViewModel();
     OffencesAwaitingTrialViewModel = new OffencesAwaitingTrialViewModel();
     PreviousLicenceViewModel       = new PreviousLicenceViewModel();
     Address                        = new AddressViewModel();
 }
 public IActionResult SavePersonalMobileNumber(PersonalMobileNumberViewModel model)
 {
     return(DirectorOrPartnerPost(model, 11));
 }
 public IActionResult SavePersonalMobileNumber(PersonalMobileNumberViewModel model)
 {
     return(PrincipalAuthorityPost(model, 12));
 }
예제 #4
0
 public IActionResult SavePersonalMobileNumber(PersonalMobileNumberViewModel model)
 {
     return(AlternativeBusinessRepresentativePost(model, 9));
 }