コード例 #1
0
 public ItineraryRepository(IOptions <MongoSettings> settings, IQuoteRepository quoteRepository, IPositionRepository positionRepository, IQRFSummaryRepository qrfSummaryRepository)
 {
     _MongoContext         = new MongoContext(settings);
     _quoteRepository      = quoteRepository;
     _positionRepository   = positionRepository;
     _qrfSummaryRepository = qrfSummaryRepository;
 }
コード例 #2
0
 public CommercialsRepository(IConfiguration configuration, IOptions <MongoSettings> settings, IGenericRepository genericRepository, IQRFSummaryRepository qRFSummaryRepository, IHostingEnvironment env, IEmailRepository emailRepository, IQuoteRepository quoteRepository)
 {
     _MongoContext         = new MongoContext(settings);
     _genericRepository    = genericRepository;
     _qRFSummaryRepository = qRFSummaryRepository;
     _env             = env;
     _configuration   = configuration;
     _emailRepository = emailRepository;
     _quoteRepository = quoteRepository;
 }
コード例 #3
0
 public QRFSummaryController(IQRFSummaryRepository qrfSummarRepository, IOptions <MongoSettings> settings, IMSDynamicsRepository mSDynamicsRepository)
 {
     _qrfSummarRepository  = qrfSummarRepository;
     _MongoContext         = new MongoContext(settings);
     _mSDynamicsRepository = mSDynamicsRepository;
 }
コード例 #4
0
 public CostsheetController(ICostsheetRepository costSheetRepository, IQRFSummaryRepository qRFSummaryRepository, IOptions <MongoSettings> settings)
 {
     _costSheetRepository  = costSheetRepository;
     _qRFSummaryRepository = qRFSummaryRepository;
     _MongoContext         = new MongoContext(settings);
 }