コード例 #1
0
 public QueriesService(
     IQueriesRepository queriesRepository,
     ITypesRepository typesRepository,
     IMapper mapper)
 {
     _queriesRepository = queriesRepository;
     _typesRepository   = typesRepository;
     _mapper            = mapper;
 }
コード例 #2
0
        public QueryController(IQueriesRepository queriesRepo, IQueryService queryService, IQueryExportService exportService)
        {
            this.queriesRepo   = queriesRepo;
            this.queryService  = queryService;
            this.exportService = exportService;

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