public GenericController(IGenericAppService genericAppService, ITaxAppService taxAppService, IRepository <Role> roleRepository, UserManager userManager) { this._abpSession = NullAbpSession.Instance; this._genericAppService = genericAppService; this._userManager = userManager; this._roleRepository = roleRepository; }
public ZonesController(IZoneAppService zoneAppService, IGenericAppService genericAppService, ITenantSettingsAppService tenantsettingsAppService, ITaxAppService taxAppService) { this._zoneAppService = zoneAppService; this._genericAppService = genericAppService; this._tenantsettingsAppService = tenantsettingsAppService; this._taxAppService = taxAppService; }
public async Task <PartialViewResult> CreateOrUpdateModal(long?id = null) { ITaxAppService taxAppService = this._taxAppService; NullableIdInput <long> nullableIdInput = new NullableIdInput <long>() { Id = id }; GetTaxForEditOutput taxForEdit = await taxAppService.GetTaxForEdit(nullableIdInput); return(this.PartialView("_CreateOrUpdateModal", new CreateOrUpdateTaxModalViewModel(taxForEdit))); }
public TaxesController(ITaxAppService taxAppService) { this._taxAppService = taxAppService; }
public TaxRulesController(ITaxRuleAppService taxRuleAppService, ITaxAppService taxAppService) { this._taxRuleAppService = taxRuleAppService; this._taxAppService = taxAppService; }