예제 #1
0
 public AnalysisRequestService(ILogger <AnalysisRequestService> logger,
                               IAnalysisRequestDataAccess analysisRequestDataAccess,
                               IBillingCD4AnalysesMapService billingCD4AnalysesMapService,
                               IStatusDataAccess statusDataAccess,
                               INdaTrackingDataAccess ndaTrackingDataAccess)
 {
     _logger = logger;
     _analysisRequestDataAccess    = analysisRequestDataAccess;
     _billingCD4AnalysesMapService = billingCD4AnalysesMapService;
     _statusDataAccess             = statusDataAccess;
     _ndaTrackingDataAccess        = ndaTrackingDataAccess;
 }
예제 #2
0
        public BatchedNdaTrackingViewModel(IStatusDataAccess statusDataAccess,
                                           IMapper mapper,
                                           IStaticDataDataAccess staticDataDataAccess,
                                           INdaTrackingDataAccess ndaTrackingDataAccess,
                                           AuthorizeDetailEventArgs authorizeDetail)
        {
            NdaTrackingData        = new BindingList <NdaTrackingModel>();
            Statuses               = new List <StatusModel>();
            Scientists             = new List <ScientistModel>();
            _statusDataAccess      = statusDataAccess;
            _mapper                = mapper;
            _staticDataDataAccess  = staticDataDataAccess;
            _ndaTrackingDataAccess = ndaTrackingDataAccess;
            _authorizeDetail       = authorizeDetail;

            //InitializeDemo();
            InitializeDatasources += OnInitaializeDatasources;
            InitializeDatasources?.Invoke(this, EventArgs.Empty);
        }