public static MaterialExamineNoPass_M ToViewModel(user_material data) { return(new MaterialExamineNoPass_M() { data = data, usermaterialid = data.usermaterialid, opinion = data.opinion }); }
public static DetailMaterialApply_M ToViewModel(List <MaterialValue> MaterialAttrAndValue, user_material MaterialApplyDetail) { return(new DetailMaterialApply_M() { MaterialAttrAndValue = MaterialAttrAndValue, MaterialApplyDetail = MaterialApplyDetail }); }