public CostsController(ICostRepository costs)//, InzynierkaContext context)
 {
     Costs = costs;
     //_context = context;
 }
Example #2
0
 public CostController(ICostRepository costRepository)
 {
     _costRepository = costRepository;
 }
Example #3
0
 public CostController(IMapper mapper, ICostRepository costRepository)
 {
     _costRepository = costRepository;
     _mapper         = mapper;
 }
Example #4
0
 public ProcessRepository(ISessionManager mgr, ICostRepository cost) : base(mgr)
 {
     Cost = cost;
 }
Example #5
0
 public CostService(ICostRepository _costRepository, ICostValidation _costValidation)
 {
     _repository = _costRepository;
     _validator  = _costValidation;
 }
 public ToolBillingRepository(ICostRepository cost, ISessionManager mgr) : base(mgr)
 {
     Cost = cost;
 }
Example #7
0
 public NationalCall(ICostRepository costRepository)
 {
     this.costRepository = costRepository;
 }
Example #8
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public PurchaseService()
 {
     this.purchaseRepository = new PurchaseRepository();
     this.costRepository     = new CostRepository();
 }
Example #9
0
 public ResourceRepository(ISessionManager mgr, ICostRepository cost) : base(mgr)
 {
     Cost = cost;
 }
Example #10
0
 public CancellationService(IUserRepository userRepository, IShopRepository shopRepository, IOrdersRepository ordersRepository, IProductRepository productRepository,
                            IPriceRepository priceRepository, IImageRepository imageRepository, IStrategy _strategy, ICostRepository costRepository, ShopsChecker _shopsChecker)
 {
     imgRepo      = imageRepository;
     shopRepo     = shopRepository;
     ordersRepo   = ordersRepository;
     productRepo  = productRepository;
     shopsChecker = _shopsChecker;
     strategy     = _strategy;
     costRepo     = costRepository;
 }
        public NewCostsViewModel(ICriteriaValueRepository criteriaValueRepository,
                                 ILabelTranslationRepository labelTranslationRepository, ICostRepository costRepository)
        {
            _criteriaValueRepository    = criteriaValueRepository;
            _labelTranslationRepository = labelTranslationRepository;
            _costRepository             = costRepository;

            SaveCostCommand = new RelayCommand(param => SaveCost(param));
        }
Example #12
0
 public CostService(ICostRepository costRepository)
 {
     _costRepository = costRepository;
 }
Example #13
0
 public SalesSerivce(IUserRepository userRepository, IShopRepository shopRepository, IBillsRepository billsRepository, IProductRepository productRepository,
                     IPriceRepository priceRepository, IImageRepository imageRepository, IStrategy strategy, ShopsChecker shopsChecker, ICostRepository costRepo)
 {
     _imgRepo      = imageRepository;
     _userRepo     = userRepository;
     _shopRepo     = shopRepository;
     _billsRepo    = billsRepository;
     _productRepo  = productRepository;
     _priceRepo    = priceRepository;
     _costRepo     = costRepo;
     _shopsChecker = shopsChecker;
     _strategy     = strategy;
 }