public BookService(IAuthorRepo repo, IBookRepo repoForBook, IUnitOfWork unitOfWork, IReadModelDatabase database)
 {
     _database    = database;
     _repo        = repo;
     _repoForBook = repoForBook;
     _unitOfWork  = unitOfWork;
 }
Exemple #2
0
 public UserController(IReadModelDatabase database, IMapper mapper, IUnitOfWork unitOfWork, IUserRepository userRepository)
 {
     _mapper         = mapper;
     _unitOfWork     = unitOfWork;
     _userRepository = userRepository;
     _database       = database;
 }
Exemple #3
0
 public BookController(IBookRepo repo, IBookService service, IReadModelDatabase context, IMapper mapper)
 {
     _repo    = repo;
     _service = service;
     _context = context;
     _mapper  = mapper;
 }
Exemple #4
0
 public CompanyController(IReadModelDatabase database, IMapper mapper, ICompanyRepository companyRepository,
                          IUnitOfWork unitOfWork, IUserRepository userRepository) : base(database, mapper, unitOfWork, userRepository)
 {
     _unitOfWork        = unitOfWork;
     _companyRepository = companyRepository;
     _mapper            = mapper;
     _database          = database;
 }
Exemple #5
0
 public CompanyReportControllers(IReadModelDatabase database, IMapper mapper,
                                 IUserProfileRepository userProfileRepository,
                                 IUnitOfWork unitOfWork) : base(mapper, database,
                                                                userProfileRepository,
                                                                unitOfWork)
 {
     _database = database;
 }
Exemple #6
0
 public SparePartController(IReadModelDatabase database, IMapper mapper,
                            ISparePartRepository sparePartRepository, IUnitOfWork unitOfWork, IUserRepository userRepository)
     : base(database, mapper, unitOfWork, userRepository)
 {
     _unitOfWork          = unitOfWork;
     _sparePartRepository = sparePartRepository;
     _mapper   = mapper;
     _database = database;
 }
 public EngineerController(IReadModelDatabase database, IMapper mapper,
                           IEngineerRepository engineerRepository, IUnitOfWork unitOfWork, IUserRepository userRepository)
     : base(database, mapper, unitOfWork, userRepository)
 {
     _unitOfWork         = unitOfWork;
     _engineerRepository = engineerRepository;
     _mapper             = mapper;
     _database           = database;
 }
Exemple #8
0
 public UserProfileController(IMapper mappper, IReadModelDatabase database,
                              IUserProfileRepository userProfileRepository,
                              IUnitOfWork unitOfWork)
 {
     _mappper  = mappper;
     _database = database;
     _userProfileRepository = userProfileRepository;
     _unitOfWork            = unitOfWork;
 }
Exemple #9
0
 public ProductController(IReadModelDatabase database, IMapper mapper,
                          IProductRepository productRepository, IUnitOfWork unitOfWork, IUserRepository userRepository)
     : base(database, mapper, unitOfWork, userRepository)
 {
     _unitOfWork        = unitOfWork;
     _productRepository = productRepository;
     _mapper            = mapper;
     _database          = database;
 }
 public BillingSparePartController(IReadModelDatabase database, IMapper mapper,
                                   IBillingSparePartRepository billingSparePartRepository,
                                   IUnitOfWork unitOfWork, IUserRepository userRepository) : base(database, mapper, unitOfWork, userRepository)
 {
     _database = database;
     _mapper   = mapper;
     _billingSparePartRepository = billingSparePartRepository;
     _unitOfWork = unitOfWork;
 }
Exemple #11
0
        public PaymentController(IReadModelDatabase database, IConfiguration iconfiguration)
        {
            _database = database;


            _httpClient = new HttpClient()
            {
                BaseAddress = new Uri(iconfiguration.GetSection("PayU").GetSection("URL").Value),
            };

            _httpClient.DefaultRequestHeaders.Accept.Clear();
        }
 public CompanyController(ICompanyRepository companyRepository, IMapper mapper,
                          IReadModelDatabase database, IUnitOfWork unitOfWork,
                          IUserProfileRepository userProfileRepository) :
     base(mapper, database,
          userProfileRepository,
          unitOfWork)
 {
     _database              = database;
     _mapper                = mapper;
     _companyRepository     = companyRepository;
     _unitOfWork            = unitOfWork;
     _userProfileRepository = userProfileRepository;
 }
Exemple #13
0
        public MarketingController(IMarketingRepository marketingRepository, IMapper mapper,
                                   IReadModelDatabase database, IUnitOfWork unitOfWork,
                                   IUserProfileRepository userProfileRepository) :

            base(mapper, database,
                 userProfileRepository,
                 unitOfWork)
        {
            _database            = database;
            _mapper              = mapper;
            _marketingRepository = marketingRepository;
            _unitOfWork          = unitOfWork;
        }
Exemple #14
0
 public TabReadModel(IReadModelDatabase database)
 {
     _database = database;
 }
Exemple #15
0
 public ChefTodoListReadModel(IReadModelDatabase database)
 {
     _database = database;
 }
 public AdminUserwiseReportingController(IReadModelDatabase database)
 {
     _database = database;
 }
 public ConversionController(IReadModelDatabase database, IMapper mapper, IUnitOfWork unitOfWork)
 {
     _database   = database;
     _mapper     = mapper;
     _unitOfWork = unitOfWork;
 }
 public AdminConsolidatedReportingController(IMapper mappper, IReadModelDatabase database,
                                             IUserProfileRepository userProfileRepository, IUnitOfWork unitOfWork)
     : base(mappper, database, userProfileRepository, unitOfWork)
 {
     _database = database;
 }
 public AuthorService(IReadModelDatabase database)
 {
     _database = database;
 }