Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StockistService"/> class.
 /// </summary>
 /// <param name="stockistRepository">The application repository for interacting with stockists.</param>
 /// <param name="commissionRepository">The application repository for interacting with commissions.</param>
 /// <param name="logger">The application logger.</param>
 public StockistService(IStockistRepository stockistRepository,
                        ICommissionRepository commissionRepository,
                        ILogger <StockistService> logger)
 {
     this.stockistRepository   = stockistRepository;
     this.commissionRepository = commissionRepository;
     this.logger = logger;
 }
Пример #2
0
 public StockistProvider(IStockistRepository sp)
 {
     _stockistRepository = sp;
 }