Пример #1
0
        public Registrant ToRegistrant()
        {
            string mobilePhone   = GetPhone(MobilePhoneCountryCallingCode, MobilePhoneNumber);
            string businessPhone = GetBusinessPhone(mobilePhone);

            return(new Registrant
            {
                BusinessPhone = businessPhone,
                Email = Email.Trim(),
                FullName = GetFullName(),
                JobTitle = JobTitle.Polish(),
                MobilePhone = mobilePhone,
                Nationality = Nationality,
                PassportPhotocopy = PassportFormFile.ToPhotocopy(),
                Registration = new Registration(),
                Title = Title
            });
        }