Exemple #1
0
 public OrganisationService(IDocumentDBRepository <Organisation> organisationRepository,
                            IUserDigestService userDigestService)
 {
     _organisationRepository = organisationRepository;
     _userDigestService      = userDigestService;
 }
Exemple #2
0
 public OrganisationPhotoApi(IOrganisationService organisationService,
                             IDocumentDBRepository <Organisation> organisationRepository)
 {
     _organisationService    = organisationService;
     _organisationRepository = organisationRepository;
 }
Exemple #3
0
 public PicturesController(IDocumentDBRepository <GalleryDBRepository> galleryRepository)
 {
     this.galleryRepository = galleryRepository;
 }
Exemple #4
0
 public MotivationalQuotesService(IDocumentDBRepository <MotivationalQuote> motivationalQuoteRepository)
 {
     this.motivationalQuoteRepository = motivationalQuoteRepository;
 }
Exemple #5
0
 public ApproveOrderHandler(IDocumentDBRepository <OrderRequest> orderRepository)
 {
     _orderRepository = orderRepository;
 }
Exemple #6
0
 public HomeController(IDocumentDBRepository r)
 {
     _repo = r;
 }
Exemple #7
0
 public UpdateStockFromItemPurchasedHandler(IDocumentDBRepository <Stock> repository)
 => _repository = repository;
Exemple #8
0
 public Handler(IDocumentDBRepository <OrderRequest> repository)
 => _repository = repository;
Exemple #9
0
 public CosmosDBController(IDocumentDBRepository <Item> cosmosDBRepository)
 {
     this.cosmosDBRepository = cosmosDBRepository;
 }
Exemple #10
0
 public CustomerManager(IDocumentDBRepository <Customer> _respository)
 {
     Respository = _respository;
 }
 public HomeController(IDocumentDBRepository dbRepository)
 {
     _dbRespository = dbRepository;
 }
 public ItemController(IDocumentDBRepository <Item> documentDbRepository)
 {
     this.documentDbRepository = documentDbRepository;
 }
Exemple #13
0
 public ItemController(IDocumentDBRepository <Models.Item> respository, ILogger <ItemController> logger)
 {
     this.respository = respository;
     _logger          = logger ?? throw new ArgumentNullException(nameof(logger));
 }
 public InvoiceManager(IDocumentDBRepository <Invoice> repo)
 {
     Repository = repo;
     Repository.Initialize();
 }
Exemple #15
0
 public UserService(IDocumentDBRepository <User> userRepository)
 {
     this.userRepository = userRepository;
 }
Exemple #16
0
 public StockRequestHandler(IDocumentDBRepository <Inventory> repository) => _repository = repository;
 public StockRequestConfirmedHandler(IDocumentDBRepository <OrderSaga> repository) => _repository = repository;
Exemple #18
0
 public CartController(AdventureWorks2016Context db, IDocumentDBRepository <Order> docDbRepository, IMediator mediator)
 {
     _db = db;
     _docDbRepository = docDbRepository;
     _mediator        = mediator;
 }
Exemple #19
0
 public FaceAuthController(IStorageRepository storage, IDocumentDBRepository <SmartDoc> documentDBRepository, IDocumentDBRepository <User> uRepository, INewCognitiveRequest <SmartDoc> newAsyncReq)
 {
     storageRepository = storage;
     docRepository     = documentDBRepository;
     userRepository    = uRepository;
     newReqService     = newAsyncReq;
 }
 public LiftController(IDocumentDBRepository <Lift> repository,
                       IUpdateModel <Lift> updateHelper)
 {
     _repository   = repository;
     _updateHelper = updateHelper;
 }
 public PersonController(IDocumentDBRepository <Person> repository)
 {
     this._repository = repository;
 }
Exemple #22
0
 public FleetController(IDocumentDBRepository <Customer> _respository)
 {
     respository     = _respository;
     customerManager = new CustomerManager(respository);
 }