public void EditPost(employee_refcheckModel Employee_refcheckModel, employee_refcheck entity) { entity.tenth_school = Educational_qualificationsModel.tenth_school; entity.tenth_board = Educational_qualificationsModel.tenth_board; entity.tenth_grade = Educational_qualificationsModel.tenth_grade; entity.tenth_yearofpassing = Educational_qualificationsModel.tenth_yearofpassing; entity.twelfth_school = Educational_qualificationsModel.twelfth_school; entity.twelfth_board = Educational_qualificationsModel.twelfth_board; entity.twelfth_grade = Educational_qualificationsModel.twelfth_grade; entity.twelfth_yearofpassing = Educational_qualificationsModel.twelfth_yearofpassing; entity.bachelors_college = Educational_qualificationsModel.bachelors_college; entity.bachelors_university = Educational_qualificationsModel.bachelors_university; entity.bachelors_grade = Educational_qualificationsModel.bachelors_grade; entity.bachelors_yearofpassing = Educational_qualificationsModel.bachelors_yearofpassing; entity.masters_college = Educational_qualificationsModel.masters_college; entity.masters_university = Educational_qualificationsModel.masters_university; entity.masters_grade = Educational_qualificationsModel.masters_grade; entity.masters_yearofpassing = Educational_qualificationsModel.masters_yearofpassing; entity.other_school = Educational_qualificationsModel.other_school; entity.other_board = Educational_qualificationsModel.other_board; entity.other_grade = Educational_qualificationsModel.other_grade; entity.other_yearofpassing = Educational_qualificationsModel.other_yearofpassing; }
/// <summary> /// Converts from. /// </summary> /// <param name="employee_refcheck">The employee refcheck.</param> /// <returns>employee_refcheckModel.</returns> public static employee_refcheckModel ConvertFrom(employee_refcheck employee_refcheck) { if (employee_refcheck == null) { employee_refcheck = new employee_refcheck(); } return(new employee_refcheckModel() { attendence = employee_refcheck.attendence, details_furnished_by = employee_refcheck.details_furnished_by, monthly_salary = employee_refcheck.monthly_salary, previous_company_address = employee_refcheck.previous_company_address, previous_company_name = employee_refcheck.previous_company_name, reason_for_leaving = employee_refcheck.reason_for_leaving, refcheck_id = employee_refcheck.refcheck_id, reporting_to = employee_refcheck.reporting_to, reporting_designation = employee_refcheck.reporting_designation, re_hire_status = employee_refcheck.re_hire_status, verified_by_date = employee_refcheck.verified_by_date, verified_by_name = employee_refcheck.verified_by_name }); }