public BreezeController(ICommunitiesService communities, IProposalService proposals, IInvitationService invitations, ITaxesService taxes) { this.communities = communities; this.proposals = proposals; this.invitations = invitations; this.taxes = taxes; }
public TaxesPresenter(ITaxesService taxesService, ITaxesView taxesView) { _taxesService = taxesService; _taxesView = taxesView; _taxesView.ShowTaxes += new System.EventHandler(TaxesViewShowTaxes); _taxesView.AddTax += new System.EventHandler(TaxesViewAddTax); }
public BreezeController(ICommunitiesService communities, IProposalService proposals, IInvitationService invitations, ITaxesService taxes) { this.communities = communities; this.proposals = proposals; this.invitations = invitations; this.taxes = taxes; }
public ManageTaxesController(ITaxesService taxesService, ITaxModelFactory taxModelFactory, ILocalizationService localizationService, ILocalizedEntityService localizedEntityService) { _taxesService = taxesService; _taxModelFactory = taxModelFactory; _localizationService = localizationService; _localizedEntityService = localizedEntityService; }
public TaxesServiceTests() { var config = new MapperConfiguration(cfg => { cfg.AddProfile <MapperProfile>(); }); var mapper = config.CreateMapper(); _taxPeriodService = new Mock <ITaxPeriodService>(); _taxesRepository = new Mock <ITaxesRepository>(); _taxesService = new TaxesService(_taxesRepository.Object, _taxPeriodService.Object, mapper); }
public void Setup() { _mockRepository = new MockRepository(); _mockTaxesService = _mockRepository.Stub <ITaxesService>(); _city = new City("CityTax", _mockTaxesService); var cityTax = new Tax("CityTax", DateTime.Today, DateTime.Today.AddMonths(6), JurisdictionEnum.City, 2); _mockTaxesService.Taxes.Add(cityTax); _provinceState = new ProvinceState("ProvStateTax", _mockTaxesService); var provStateTax = new Tax("ProvStateTax", DateTime.Today, DateTime.Today.AddMonths(6), JurisdictionEnum.ProvinceState, 3); _mockTaxesService.Taxes.Add(provStateTax); _country = new Country("CountryTax", _mockTaxesService); var countryTax = new Tax("CountryTax", DateTime.Today, DateTime.Today.AddMonths(6), JurisdictionEnum.Country, 4); _mockTaxesService.Taxes.Add(countryTax); }
public InvoiceService(AppDbContext dbContext, IWorkContext workContext, IUsersService usersService, IUserGroupsService userGroupsService, IProductService productService, IProductCheckoutAttributesService productCheckoutAttributesService, ITaxesService taxesService, IPluginFinder pluginFinder, ILicenseManager licenseManager, ISettingService settingService, IEventPublisher eventPublisher) { _dbContext = dbContext; _workContext = workContext; _usersService = usersService; _userGroupsService = userGroupsService; _productService = productService; _productCheckoutAttributesService = productCheckoutAttributesService; _taxesService = taxesService; _pluginFinder = pluginFinder; _licenseManager = licenseManager; _settingService = settingService; _eventPublisher = eventPublisher; }
public City(string name, ITaxesService taxesService) { _name = name; _taxesService = taxesService; }
public City(string name, ITaxesService taxesService) { _name = name; _taxesService = taxesService; }
public TaxesController(ILogger <TaxesController> logger, ITaxesService taxesService) { _logger = logger; _taxesService = taxesService; }
public Invoice(ITaxesService taxesService) { _taxesService = taxesService; _invoiceItems = new List <InvoiceItem>(); }
public ProvinceState(string name, ITaxesService taxesService) { _taxesService = taxesService; }
public TaxesController(ITaxesService taxes) { this.taxes = taxes; // this.currentCommunityId = ; }
public TaxesController(ITaxesService taxesService) { _taxesService = taxesService; }
public void SetUp() { _mockRepository = new MockRepository(); _mockTaxesService = _mockRepository.StrictMock<ITaxesService>(); }
public TaxesController(TaxesContext context, ITaxesService businessService, IMapper mapper) { _context = context; _businessService = businessService; _mapper = mapper; }
public TaxesController(ITaxesService service) { _service = service; }
public DataFromFileController(ITaxesService taxesService) { _taxesService = taxesService; }
public TaxesController(ITaxesService taxesService, IMapper mapper) { _taxesService = taxesService; _mapper = mapper; }
public Country(string name, ITaxesService taxesService) { _taxesService = taxesService; }
public Invoice(ITaxesService taxesService) { _taxesService = taxesService; _invoiceItems = new List<InvoiceItem>(); }
public BasketService(IProductService productService, ITaxesService taxesService) { _productService = productService; _taxesService = taxesService; }
public TaxesController(ITaxesService taxes) { this.taxes = taxes; }
public TaxesBulkInsertController(ITaxesService businessService) { _businessService = businessService; }
public void Setup() { _mockRepository = new MockRepository(); _mockTaxesService = _mockRepository.Stub<ITaxesService>(); _city = new City("CityTax", _mockTaxesService); var cityTax = new Tax("CityTax", DateTime.Today, DateTime.Today.AddMonths(6), JurisdictionEnum.City, 2); _mockTaxesService.Taxes.Add(cityTax); _provinceState = new ProvinceState("ProvStateTax", _mockTaxesService); var provStateTax = new Tax("ProvStateTax", DateTime.Today, DateTime.Today.AddMonths(6), JurisdictionEnum.ProvinceState, 3); _mockTaxesService.Taxes.Add(provStateTax); _country = new Country("CountryTax", _mockTaxesService); var countryTax = new Tax("CountryTax", DateTime.Today, DateTime.Today.AddMonths(6), JurisdictionEnum.Country, 4); _mockTaxesService.Taxes.Add(countryTax); }
public void SetUp() { _mockRepository = new MockRepository(); _mockTaxesService = _mockRepository.StrictMock <ITaxesService>(); }
public BasketController(ITaxesService taxesService, IBasketService basketService) { _taxesService = taxesService; _basketService = basketService; }
public Country(string name, ITaxesService taxesService) { _taxesService = taxesService; }
public TaxesController(ITaxesService taxes) { this.taxes = taxes; }
public TaxesRatioService(ITaxesService taxesService) { _taxesService = taxesService; }