示例#1
0
 public SaveController(IPCRChecklistService pcrChecklistService, IPCRGuidelineService pcrGuidelineService, IPCRFollowUpService pcrFollowUpService)
 {
     _authorizationService = AuthorizationServiceFactory.Current;
     _pcrChecklistService  = pcrChecklistService;
     _pcrGuidelineService  = pcrGuidelineService;
     _pcrFollowUpService   = pcrFollowUpService;
 }
 public PCRReportController(
     IPCRChecklistService pcrChecklistService,
     ICatalogService catalogService,
     IPCRFollowUpService pcrFollowUpService,
     IAuthorizationService authorizationService)
 {
     _pcrFollowUpService    = pcrFollowUpService;
     _viewModelMapperHelper = new ViewModelMapperHelper(ViewBag, pcrChecklistService, catalogService, authorizationService, _pcrFollowUpService);
 }
 public ViewModelMapperHelper(
     dynamic viewBag,
     IPCRChecklistService pcrChecklistService,
     ICatalogService catalogService,
     IAuthorizationService authorizationService,
     IPCRFollowUpService pcrFollowUpService)
 {
     _viewBag              = viewBag;
     _pcrChecklistService  = pcrChecklistService;
     _catalogService       = catalogService;
     _authorizationService = authorizationService;
     _pcrFollowUpService   = pcrFollowUpService;
 }
示例#4
0
        public ViewController(
            IPCRChecklistService pcrChecklistService,
            ICatalogService catalogService,
            IPCRGuidelineService prcGuidelineService,
            IPCRFollowUpService pcrFollowUpService)
        {
            _authorizationService = AuthorizationServiceFactory.Current;
            _pcrChecklistService  = pcrChecklistService;
            _pcrGuidelineService  = prcGuidelineService;
            _pcrFollowUpService   = pcrFollowUpService;
            _catalogService       = catalogService;

            _viewModelMapperHelper = new ViewModelMapperHelper(
                ViewBag,
                _pcrChecklistService,
                _catalogService,
                _authorizationService,
                _pcrFollowUpService);
        }