Ejemplo n.º 1
0
 public LimsExchangeFilter(PrlApplicationProcessService prlApplicationProcessService,
                           LimsRepository.ChangesTrackedEnum changesTracked, LimsExchangeService limsExchangeService, ImlApplicationProcessService imlApplicationProcessService
                           , TrlApplicationProcessService trlApplicationProcessService)
 {
     _changesTracked               = changesTracked;
     _limsExchangeService          = limsExchangeService;
     _imlApplicationProcessService = imlApplicationProcessService;
     _prlApplicationProcessService = prlApplicationProcessService;
     _trlApplicationProcessService = trlApplicationProcessService;
 }
Ejemplo n.º 2
0
 public ImlApplicationService(ICommonDataService dataService, IObjectMapper objectMapper, IUserInfoService userInfoService, ApplicationService <ImlApplication> applicationService, LimsExchangeService limsExchangeService, IConverter converter, ImlReportService imlReportService)
 {
     DataService          = dataService;
     _objectMapper        = objectMapper;
     _userInfoService     = userInfoService;
     _applicationService  = applicationService;
     _limsExchangeService = limsExchangeService;
     _converter           = converter;
     _imlReportService    = imlReportService;
 }
 public TrlApplicationProcessService(ICommonDataService dataService,
                                     LimsExchangeService limsExchangeService,
                                     IObjectMapper objectMapper,
                                     IEntityStateHelper entityStateHelper,
                                     MigrationDbContext context)
 {
     _dataService         = dataService;
     _limsExchangeService = limsExchangeService;
     _objectMapper        = objectMapper;
     _entityStateHelper   = entityStateHelper;
     _context             = context;
 }
Ejemplo n.º 4
0
 public PrlApplicationService(ICommonDataService dataService, IUserInfoService userInfoService,
                              IPrlReportService prlReportService, IObjectMapper objectMapper, IConverter converter,
                              IPrlLicenseService prlLicenseService, PrlApplicationProcessService applicationProcessService, LimsExchangeService limsExchangeService, ApplicationService <PrlApplication> applicationService)
 {
     DataService          = dataService;
     _userInfoService     = userInfoService;
     _objectMapper        = objectMapper;
     _prlReportService    = prlReportService;
     _converter           = converter;
     _prlLicenseService   = prlLicenseService;
     _limsExchangeService = limsExchangeService;
     _applicationService  = applicationService;
 }
Ejemplo n.º 5
0
 public TrlAppController(IConfiguration configuration, ISearchFilterSettingsService filterSettingsService,
                         IEntityStateHelper entityStateHelper, TrlApplicationService service, IAtuAddressService atuAddressService,
                         ApplicationService <TrlApplication> applicationService, INotificationService notificaticationService, LimsExchangeService limsExchangeService)
     : base(service.DataService, configuration,
            filterSettingsService)
 {
     _configuration           = configuration;
     _entityStateHelper       = entityStateHelper;
     _service                 = service;
     _atuAddressService       = atuAddressService;
     _applicationService      = applicationService;
     _notificaticationService = notificaticationService;
     _limsExchangeService     = limsExchangeService;
 }
Ejemplo n.º 6
0
 public DevController(LimsExchangeService limsExchangeService, ICommonDataService dataService,
                      IPrlApplicationService prlApplicationService, IBranchService branchService,
                      AppAssigneeService assigneeService, IUserInfoService userInfoService, ApplicationDbContext context, ImlApplicationService imlApplicationService,
                      TrlApplicationService trlApplicationService)
 {
     _limsExchangeService   = limsExchangeService;
     _dataService           = dataService;
     _prlApplicationService = prlApplicationService;
     _branchService         = branchService;
     _assigneeService       = assigneeService;
     _userInfoService       = userInfoService;
     _context = context;
     _imlApplicationService = imlApplicationService;
     _trlApplicationService = trlApplicationService;
 }
Ejemplo n.º 7
0
        protected override Task ProcessInScope(IServiceProvider serviceProvider)
        {
            using (var scope = _serviceScopeFactory.CreateScope())
            {
                var limsDbContext       = scope.ServiceProvider.GetService <LimsDbContext>();
                var coreDbContext       = scope.ServiceProvider.GetService <CoreDbContext>();
                var commonRep           = new CommonRepository(coreDbContext, null, null);
                var dataService         = new CommonDataService(commonRep, null);
                var limsRep             = new LimsRepository(null, null, limsDbContext, null);
                var limsExchangeService = new LimsExchangeService(limsRep, dataService, null, null, null, null, null, null);

                Task.WaitAll(limsExchangeService.UpdateLimsRp());
            }
            return(Task.CompletedTask);
        }
Ejemplo n.º 8
0
        protected override Task ProcessInScope(IServiceProvider serviceProvider)
        {
            using (var scope = _serviceScopeFactory.CreateScope())
            {
                var limsDbContext       = scope.ServiceProvider.GetService <LimsDbContext>();
                var coreDbContext       = scope.ServiceProvider.GetService <CoreDbContext>();
                var migrationDbContext  = scope.ServiceProvider.GetService <MigrationDbContext>();
                var mapper              = scope.ServiceProvider.GetService <IObjectMapper>();
                var commonRep           = new CommonRepository(coreDbContext, null, null);
                var dataService         = new CommonDataService(commonRep, null);
                var limsRep             = new LimsRepository(null, null, limsDbContext, null);
                var limsExchangeService = new LimsExchangeService(limsRep, dataService, null, mapper, migrationDbContext, null, null, null);

                Task.WaitAll(limsExchangeService.ImportLimsDepartmentalSubordination());
            }
            return(Task.CompletedTask);
        }
Ejemplo n.º 9
0
 public PrlAppController(IUserInfoService userInfoService, ICommonDataService dataService,
                         IPrlApplicationService prlApplicationService, IConverter converter, PrlApplicationProcessService applicationProcessService,
                         IPrlReportService prlReportService, IAtuAddressService atuAddressService, IEntityStateHelper entityStateHelper,
                         INotificationService notificationService, LimsExchangeService limsExchangeService, ApplicationService <PrlApplication> applicationService)
     : base()
 {
     _userInfo                  = userInfoService.GetCurrentUserInfo();
     _dataService               = dataService;
     _prlApplicationService     = prlApplicationService;
     _converter                 = converter;
     _applicationProcessService = applicationProcessService;
     _atuAddressService         = atuAddressService;
     _entityStateHelper         = entityStateHelper;
     _prlReportService          = prlReportService;
     _notificationService       = notificationService;
     _limsExchangeService       = limsExchangeService;
     _applicationService        = applicationService;
 }
Ejemplo n.º 10
0
 public TokenService(IConfiguration configuration, MigrationDbContext context, LimsExchangeService limsService)
 {
     config       = configuration;
     _context     = context;
     _limsService = limsService;
 }
Ejemplo n.º 11
0
 public ResultInputControlService(ICommonDataService commonDataService, IUserInfoService userInfoService, LimsExchangeService exchangeService)
 {
     DataService      = commonDataService;
     _userInfoService = userInfoService;
     _exchangeService = exchangeService;
 }
Ejemplo n.º 12
0
 public BranchService(ICommonDataService dataService, IOperationFormListService formListService, LimsExchangeService limsExchangeService)
 {
     _dataService         = dataService;
     _formListService     = formListService;
     _limsExchangeService = limsExchangeService;
 }