常用方法
常用方法
常用方法
常用方法
public ApplicantViewModel SaveApplicant(ApplicantViewModel model) { var applicant = _mapper.Map <ApplicantViewModel, Applicant>(model); var result = _applicantRepository.SaveApplicantInfo(applicant); var applicantViewModel = _mapper.Map <Applicant, ApplicantViewModel>(result); return(applicantViewModel); }