Ejemplo n.º 1
0
 public PatientController(IRepository <Institution> institutionRepository, IDateTimeCountableRepository <SearchHistory> searchHistoryRepository)
 {
     _institutionRepository   = institutionRepository;
     _searchHistoryRepository = searchHistoryRepository;
     _personInfoFetcher       = new WcfPersonInfoFetcher();
     _patientInfoFetcher      = new WcfDataFetcher(institutionRepository, searchHistoryRepository, User.Name);
 }
Ejemplo n.º 2
0
 public MineReportsListController(IDateTimeCountableRepository <ReportRequest> reportRequestRepository, IRepository <Institution> institutionRepository, IDateTimeCountableRepository <SearchHistory> searchHistoryRepository)
 {
     _reportRequestRepository = reportRequestRepository;
     _institutionRepository   = institutionRepository;
     _searchHistoryRepository = searchHistoryRepository;
     _patientFetcher          = new WcfDataFetcher(institutionRepository, searchHistoryRepository, User.Name);
     _personInfoFetcher       = new WcfPersonInfoFetcher();
 }
Ejemplo n.º 3
0
 public ReportController(IDateTimeCountableRepository <ReportRequest> reportRequestRepository, IReportService reportService)
 {
     _reportRequestRepository = reportRequestRepository;
     _reportService           = reportService;
 }
Ejemplo n.º 4
0
 public PdfReportService(IRepository <Institution> institutionRepository, IDateTimeCountableRepository <SearchHistory> searchHistoryRepository)
 {
     _institutionRepository   = institutionRepository;
     _searchHistoryRepository = searchHistoryRepository;
     _personInfoFetcher       = new WcfPersonInfoFetcher();
 }
Ejemplo n.º 5
0
 public WcfDataFetcher(IRepository <Institution> repository, IDateTimeCountableRepository <SearchHistory> searchHistoryRepository, string username)
 {
     _repository = repository;
     _searchHistoryRepository = searchHistoryRepository;
     _username = username;
 }