Exemple #1
0
 public AccountController(IAccountRepository accountRepository, IDetailRepository detailRepository, zumuziDbContext context)
 {
     _accountRepository = accountRepository;
     _detailRepository  = detailRepository;
     _userRepository    = accountRepository;
     _context           = context;
 }
Exemple #2
0
 public HomeController(IMusicRepository musicRepository, ViewModel viewModel, IDetailRepository detailRepository, ICommentRepository commentRepository)
 {
     _musicRepository   = musicRepository;
     _viewModel         = viewModel;
     _detailRepository  = detailRepository;
     _commentRepository = commentRepository;
 }
Exemple #3
0
 public AssetDetailService(IAssetDetailRepository _repository, IAssetRepository _repositoryAsset,
                           IDetailRepository _repositoryDetail)
 {
     repository       = _repository;
     repositoryAsset  = _repositoryAsset;
     repositoryDetail = _repositoryDetail;
 }
 public ProductDetailService(IProductDetailRepository _repository, IDetailRepository _repositoryDetail,
                             IProductRepository _repositoryProduct)
 {
     repository        = _repository;
     repositoryDetail  = _repositoryDetail;
     repositoryProduct = _repositoryProduct;
 }
Exemple #5
0
 public SaleUseCases(ISaleRepository saleRepository,
                     IDetailRepository detailRepository,
                     IProductRepository productRepository,
                     IPriceRepository priceRepository,
                     IClientRepository clientRepository,
                     ICashRepository cashRepository,
                     ICreditCardRepository creditCardRepository,
                     IDebitCardRepository debitCardRepository,
                     IChequesPaymentRepository chequesPaymentRepository,
                     IChequeRepository chequeRepository,
                     IOwnFeesRepository ownFeesRepository,
                     IFeeRepository feeRepository,
                     IFeeRuleRepository feeRuleRepository,
                     IMapper mapper
                     )
 {
     _saleRepository           = saleRepository;
     _detailRepository         = detailRepository;
     _productRepository        = productRepository;
     _priceRepository          = priceRepository;
     _clientRepository         = clientRepository;
     _cashRepository           = cashRepository;
     _creditCardRepository     = creditCardRepository;
     _debitCardRepository      = debitCardRepository;
     _chequesPaymentRepository = chequesPaymentRepository;
     _chequeRepository         = chequeRepository;
     _ownFeesRepository        = ownFeesRepository;
     _feeRepository            = feeRepository;
     _feeRuleRepository        = feeRuleRepository;
     _mapper = mapper;
 }
Exemple #6
0
 public Scraper(IWordRespository _wordRepo, IDetailRepository _detailRepo, IExampleRepository _exampleRepo, ISynonymRepository _synonymRepo, ISubsenseRepository _subsenseRepo)
 {
     wordRepo     = _wordRepo;
     detailRepo   = _detailRepo;
     exampleRepo  = _exampleRepo;
     synonymRepo  = _synonymRepo;
     subsenseRepo = _subsenseRepo;
 }
Exemple #7
0
 public PropertyService(IPropertyRepository propertyRepository, IAddressRepository addressRepository,
                        IDetailRepository detailsRepository, IImageRepository imageRepository, INotifier notifier) : base(notifier)
 {
     _propertyRepository = propertyRepository;
     _addressRepository  = addressRepository;
     _detailsRepository  = detailsRepository;
     _imageRepository    = imageRepository;
 }
 public DailyReportController(IHostEnvironment host, ILogger <DailyReportController> logger,
                              IDownloadRepository downloadRepository, IDetailRepository detailRepository)
 {
     _host               = host;
     _logger             = logger;
     _downloadRepository = downloadRepository;
     _detailRepository   = detailRepository;
 }
Exemple #9
0
 public PdfService(IOrderRepository orderRepo, IClientRepository clientRepo, IAccountRepository accountRepo, IVendorRepository vendorRepo, IItemRepository itemRepo, IDetailRepository detailRepo)
 {
     OrderRepository   = orderRepo;
     ClientRepository  = clientRepo;
     AccountRepository = accountRepo;
     VendorRepository  = vendorRepo;
     ItemRepository    = itemRepo;
     DetailRepository  = detailRepo;
 }
Exemple #10
0
 public EmailService(IContext context, IOrderRepository orderRepo, IDetailRepository detailRepo, IClientRepository clientRepo, IAccountRepository accountRepo, IAttachmentService attachmentSvc, IProvider provider)
 {
     Context           = context;
     OrderRepository   = orderRepo;
     DetailRepository  = detailRepo;
     ClientRepository  = clientRepo;
     AccountRepository = accountRepo;
     AttachmentService = attachmentSvc;
     Provider          = provider;
 }
 public DetailAppService(IMapper mapper,
                         IDetailRepository detailRepository,
                         IMediatorHandler bus,
                         IEventStoreRepository eventStoreRepository)
 {
     _mapper           = mapper;
     _detailRepository = detailRepository;
     Bus = bus;
     _eventStoreRepository = eventStoreRepository;
 }
Exemple #12
0
 public ReadQueueSaveToDb(ILogger <ReadQueueSaveToDb> log
                          , IConfiguration configuration
                          , IRawRepository <RawData> rawRepository
                          , IDetailRepository <Detail> detailRepository)
 {
     _logger           = log;
     _configuration    = configuration;
     _rawRepository    = rawRepository;
     _detailRepository = detailRepository;
 }
Exemple #13
0
 public DetailCommandHandler(
     IDetailRepository detailRepository,
     IUnitOfWork uow,
     IMediatorHandler bus,
     INotificationHandler <DomainNotification> notifications)
     : base(uow, bus, notifications)
 {
     _detailRepository = detailRepository;
     _bus = bus;
 }
Exemple #14
0
 public OrderService(IDetailRepository detailRepository,
                     IOrderRepository orderRepository,
                     INotificationService notificationService,
                     IHttpContextAccessor httpContextAccessor)
 {
     this.detailRepository    = detailRepository;
     this.orderRepository     = orderRepository;
     this.notificationService = notificationService;
     this.httpContextAccessor = httpContextAccessor;
 }
 public DetailsController(IDetailRepository thisRepo = null)
 {
     if (thisRepo == null)
     {
         this.detailRepo = new EFDetailRepository();
     }
     else
     {
         this.detailRepo = thisRepo;
     }
 }
 public DetailService(IDetailRepository _repository, IDetailMainRepository _repositoryDetailMain,
                      IDetailSubRepository _repositoryDetailSub, IAssetDetailRepository _repositoryAssetDetail,
                      IProductDetailRepository _repositoryProductDetail, IProductTypeRepository _repositoryProductType)
 {
     repository              = _repository;
     repositoryDetailMain    = _repositoryDetailMain;
     repositoryDetailSub     = _repositoryDetailSub;
     repositoryAssetDetail   = _repositoryAssetDetail;
     repositoryProductDetail = _repositoryProductDetail;
     repositoryProductType   = _repositoryProductType;
 }
Exemple #17
0
 public MusicController(ICategoryRepository categoryRepository, IMusicRepository musicRepository,
                        ICommentRepository commentRepository, ViewModel viewModel, zumuziDbContext context, IDetailRepository detailRepository, ILikeRepository likeRepository)
 {
     _viewModel             = viewModel;
     _categoryRepository    = categoryRepository;
     _musicRepository       = musicRepository;
     _musicDetailRepository = musicRepository;
     _commentRepository     = commentRepository;
     _detailRepository      = detailRepository;
     _likeRepository        = likeRepository;
     _context = context;
 }
 public HardwareService(IHardwareRepository _repository, IProductTypeRepository _repositoryProductType,
                        IProductSupplierRepository _repositoryProductSupplier, IProductDetailRepository _repositoryProductDetail,
                        IPurchaseItemRepository _repositoryPurchaseItem, IStatusRepository _repositoryStatus,
                        IDetailRepository _repositoryDetail, IHostingEnvironment _hostingEnv)
 {
     repository                = _repository;
     repositoryProductType     = _repositoryProductType;
     repositoryProductSupplier = _repositoryProductSupplier;
     repositoryProductDetail   = _repositoryProductDetail;
     repositoryPurchaseItem    = _repositoryPurchaseItem;
     repositoryStatus          = _repositoryStatus;
     repositoryDetail          = _repositoryDetail;
     hostingEnv                = _hostingEnv;
 }
Exemple #19
0
 public ReportsController(
     IDocumentRepository documentRepository,
     ITaxRepository taxRepository,
     IDetailRepository detailRepository,
     IUserRepository userRepository,
     IServiceRepository serviceRepository,
     IReportService reportService)
 {
     this.documentRepository = documentRepository;
     this.taxRepository      = taxRepository;
     this.detailRepository   = detailRepository;
     this.userRepository     = userRepository;
     this.serviceRepository  = serviceRepository;
     this.reportService      = reportService;
 }
Exemple #20
0
        // private IReportService reportService;

        public OrdersController(
            IDocumentRepository documentRepository,
            ITaxRepository taxRepository,
            IDetailRepository detailRepository,
            IConfigurationRepository configurationRepository,
            IUserRepository userRepository,
            IServiceRepository serviceRepository,
            IReportService reportService)
        {
            this.documentRepository      = documentRepository;
            this.taxRepository           = taxRepository;
            this.detailRepository        = detailRepository;
            this.configurationRepository = configurationRepository;
            this.userRepository          = userRepository;
            this.serviceRepository       = serviceRepository;
            // this.reportService = reportService;
        }
Exemple #21
0
 public DetailServices(IDetailRepository detailRepository)
 {
     this.detailRepository = detailRepository;
 }
 public DetailService(IDetailRepository repository, IGroupSubjectRepository groupSubjectRepository) : base(repository)
 {
     _repository             = repository;
     _groupSubjectRepository = groupSubjectRepository;
 }
 public DetailService(IUnitOfWork _unitOfWork, IDetailRepository _repository)
 {
     unitOfWork = _unitOfWork;
     repository = _repository;
 }
Exemple #24
0
 /// <summary>
 /// 构造函数注入
 /// </summary>
 /// <param name="detailRepository"></param>
 public DetailController(IDetailRepository detailRepository)
 {
     _detailRepository = detailRepository;
 }
Exemple #25
0
 public CarService()
 {
     repository    = new CarRepository();
     detRepository = new DetailRepository();
 }
Exemple #26
0
 public DetailService()
 {
     repository = new DetailRepository();
 }
 public DetailController(IMapper map, IDetailRepository detailRepository, IUserRepository userRepository)
 {
     _mapper           = map;
     _detailRepository = detailRepository;
     _userRepository   = userRepository;
 }
 public OrderController(IOrderRepository _orderRepository, IDetailRepository _detailRepository)
 {
     orderRepository  = _orderRepository;
     detailRepository = _detailRepository;
 }
Exemple #29
0
 protected DetailGridRepositoryService(IDetailRepository <T> repository, IKatushaGlobalCacheContext globalCacheContext) : base(repository, globalCacheContext)
 {
     _repository = repository;
 }
 public DetailService(IDetailRepository detailRepository, IMapper mapper)
 {
     _detailRepository = detailRepository;
     _mapper           = mapper;
 }