예제 #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();
 }