示例#1
0
 public static IPDFhabReviewReportModel GetAppropriateHabReviewReportType(ServiceTypeIdEnum serviceTypeId)
 {
     return(ClassTypeFactory.GetInstances <IPDFhabReviewReportModel>()
            .Where(x => x.ServiceTypeId == serviceTypeId)
            .FirstOrDefault());
 }
示例#2
0
 public static IPDFreportModel GetAppropriatePDFreportType(ServiceTypeIdEnum serviceTypeId, DocumentPrintTypeEnum docType)
 {
     return(ClassTypeFactory.GetInstances <IPDFreportModel>()
            .Where(x => x.DocumentType == docType && x.ServiceTypeId == serviceTypeId)
            .FirstOrDefault());
 }
示例#3
0
 public ServiceTypeIdAttribute(ServiceTypeIdEnum typeId)
 {
     this.Name = typeId.ToString();
 }