Exemplo n.º 1
0
 public ItineraryRepository(IOptions <MongoSettings> settings, IQuoteRepository quoteRepository, IPositionRepository positionRepository, IQRFSummaryRepository qrfSummaryRepository)
 {
     _MongoContext         = new MongoContext(settings);
     _quoteRepository      = quoteRepository;
     _positionRepository   = positionRepository;
     _qrfSummaryRepository = qrfSummaryRepository;
 }
Exemplo n.º 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;
 }
Exemplo n.º 3
0
 public QRFSummaryController(IQRFSummaryRepository qrfSummarRepository, IOptions <MongoSettings> settings, IMSDynamicsRepository mSDynamicsRepository)
 {
     _qrfSummarRepository  = qrfSummarRepository;
     _MongoContext         = new MongoContext(settings);
     _mSDynamicsRepository = mSDynamicsRepository;
 }
Exemplo n.º 4
0
 public CostsheetController(ICostsheetRepository costSheetRepository, IQRFSummaryRepository qRFSummaryRepository, IOptions <MongoSettings> settings)
 {
     _costSheetRepository  = costSheetRepository;
     _qRFSummaryRepository = qRFSummaryRepository;
     _MongoContext         = new MongoContext(settings);
 }