public AgreementModel GetManagementModel(Entities.AgreementInfo.AgreementTypes type) { AgreementModel model = new AgreementModel(); var iAgreement = SystemAgreementApplication.GetAgreement(type); if (iAgreement != null) { model.AgreementType = iAgreement.AgreementType; model.AgreementContent = iAgreement.AgreementContent; } return(model); }
/// <summary> /// 获取协议信息 /// </summary> /// <param name="Id"></param> /// <returns></returns> public static Entities.AgreementInfo GetAgreement(Entities.AgreementInfo.AgreementTypes type) { return(_iSystemAgreementService.GetAgreement(type)); }