Пример #1
0
        /// <summary>
        /// Converts from.
        /// </summary>
        /// <param name="certifications">The certifications.</param>
        /// <returns>certificationsModel.</returns>
        public static certificationsModel ConvertFrom(certifications certifications)
        {
            if (certifications == null)
            {
                certifications = new certifications();
            }

            return(new certificationsModel()
            {
                cert_type = certifications.cert_type,
                certification_name = certifications.certification_name
            });
        }
Пример #2
0
 public void EditPostforCertifications(certificationsModel CertificationsModel, certifications entity)
 {
     entity.certification_name = CertificationsModel.certification_name;
 }
Пример #3
0
 public Model2()
 {
     Fatherdetails = new family_details()
     {
         member = "Father"
     };
     Motherdetails = new family_details()
     {
         member = "Mother"
     };
     Brotherdetails = new family_details()
     {
         member = "Brother"
     };
     Sisterdetails = new family_details()
     {
         member = "Sister"
     };
     Spousedetails = new family_details()
     {
         member = "Spouse"
     };
     Childrendetails = new family_details()
     {
         member = "Children"
     };
     Certification1 = new certifications()
     {
         cert_type = "1"
     };
     Certification2 = new certifications()
     {
         cert_type = "2"
     };
     Certification3 = new certifications()
     {
         cert_type = "3"
     };
     Certification4 = new certifications()
     {
         cert_type = "4"
     };
     Prevemploy1 = new prev_employ_1()
     {
         employment_ref = "1"
     };
     Prevemploy2 = new prev_employ_1()
     {
         employment_ref = "2"
     };
     Prevemploy3 = new prev_employ_1()
     {
         employment_ref = "3"
     };
     Prevemploy4 = new prev_employ_1()
     {
         employment_ref = "4"
     };
     Prevemploy5 = new prev_employ_1()
     {
         employment_ref = "5"
     };
     Reference1 = new references()
     {
         ref_type = "1"
     };
     Reference2 = new references()
     {
         ref_type = "2"
     };
     Feedback        = new feedback();
     Employeedetails = new employee_details();
 }