public QueriesService(
     IQueriesRepository queriesRepository,
     ITypesRepository typesRepository,
     IMapper mapper)
 {
     _queriesRepository = queriesRepository;
     _typesRepository   = typesRepository;
     _mapper            = mapper;
 }
        public QueryController(IQueriesRepository queriesRepo, IQueryService queryService, IQueryExportService exportService)
        {
            this.queriesRepo   = queriesRepo;
            this.queryService  = queryService;
            this.exportService = exportService;

            if (viewModel == null)
            {
                viewModel = new QueryViewModel();
            }
        }
Exemple #3
0
 public InstantsRepository(
     IMapper mapper,
     ITemplatesRepository templatesRepository,
     ITypesRepository typesRepository,
     IQueriesRepository queriesRepository
     )
 {
     _mapper = mapper;
     _templatesRepository = templatesRepository;
     _typesRepository     = typesRepository;
     _queriesRepository   = queriesRepository;
 }
 public JobService(
     IJobsRepository jobsRepository,
     ITemplatesRepository templatesRepository,
     ITypesRepository typesRepository,
     IQueriesRepository queriesRepository,
     IMapper mapper
     )
 {
     _jobsRepository      = jobsRepository;
     _templatesRepository = templatesRepository;
     _typesRepository     = typesRepository;
     _queriesRepository   = queriesRepository;
     _mapper = mapper;
 }
Exemple #5
0
 public InstantService(
     IInstantsRepository instantsRepository,
     ITypesRepository typesRepository,
     ITemplatesRepository templatesRepository,
     IQueriesRepository queriesRepository,
     IMapper mapper
     )
 {
     _instantsRepository  = instantsRepository;
     _typesRepository     = typesRepository;
     _templatesRepository = templatesRepository;
     _queriesRepository   = queriesRepository;
     _mapper = mapper;
 }