public AnalysisRequestService(ILogger <AnalysisRequestService> logger, IAnalysisRequestDataAccess analysisRequestDataAccess, IBillingCD4AnalysesMapService billingCD4AnalysesMapService, IStatusDataAccess statusDataAccess, INdaTrackingDataAccess ndaTrackingDataAccess) { _logger = logger; _analysisRequestDataAccess = analysisRequestDataAccess; _billingCD4AnalysesMapService = billingCD4AnalysesMapService; _statusDataAccess = statusDataAccess; _ndaTrackingDataAccess = ndaTrackingDataAccess; }
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); }