Example #1
0
 public static IPDFreportModel GetAppropriatePDFreportType(ServiceTypeIdEnum serviceTypeId, DocumentPrintTypeEnum docType)
 {
     return(ClassTypeFactory.GetInstances <IPDFreportModel>()
            .Where(x => x.DocumentType == docType && x.ServiceTypeId == serviceTypeId)
            .FirstOrDefault());
 }
Example #2
0
 public static IPDFhabReviewReportModel GetAppropriateHabReviewReportType(ServiceTypeIdEnum serviceTypeId)
 {
     return(ClassTypeFactory.GetInstances <IPDFhabReviewReportModel>()
            .Where(x => x.ServiceTypeId == serviceTypeId)
            .FirstOrDefault());
 }