private CompCvLanguageRequirement ToCompCvLanguageRequirement(CompCvLanguageRequirementVM vm) { var requirement = new CompCvLanguageRequirement(); requirement.Language = vm.Language; requirement.Listening = vm.Listening; return(requirement); }
private CompCvLanguageRequirementVM ToLanguageRequirementVM(CompCvLanguageRequirement dto) { return(new CompCvLanguageRequirementVM { LanguageRequirementId = dto.LanguageRequirementId, Language = dto.Language, Listening = dto.Listening, }); }