/// <summary> /// Method to save user registraton /// </summary> /// <param name="userRegistrationRequest"></param> /// <returns></returns> public int SaveUserRegistrationRequest(UserRegistrationRequestsViewModel userRegistrationRequest) { Mapper.CreateMap<UserRegistrationRequestsViewModel, UserRegistrationRequestBO>(); var userRegistrationRequestBusinessObject = new UserRegistrationRequestBO(); Mapper.Map(userRegistrationRequest, userRegistrationRequestBusinessObject); return _registrationBusinessLogic.SaveUserRegistrationRequest(userRegistrationRequestBusinessObject); }
public ActionResult Register() { var userRegistration = new FundingPilotSystem.VM.UserRegistrationRequestsViewModel(); userRegistration = BindModel(userRegistration); return View(userRegistration); }