Beispiel #1
0
 public GenericController(IGenericAppService genericAppService, ITaxAppService taxAppService, IRepository <Role> roleRepository, UserManager userManager)
 {
     this._abpSession        = NullAbpSession.Instance;
     this._genericAppService = genericAppService;
     this._userManager       = userManager;
     this._roleRepository    = roleRepository;
 }
Beispiel #2
0
 public ZonesController(IZoneAppService zoneAppService, IGenericAppService genericAppService, ITenantSettingsAppService tenantsettingsAppService, ITaxAppService taxAppService)
 {
     this._zoneAppService           = zoneAppService;
     this._genericAppService        = genericAppService;
     this._tenantsettingsAppService = tenantsettingsAppService;
     this._taxAppService            = taxAppService;
 }
Beispiel #3
0
        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)));
        }
Beispiel #4
0
 public TaxesController(ITaxAppService taxAppService)
 {
     this._taxAppService = taxAppService;
 }
 public TaxRulesController(ITaxRuleAppService taxRuleAppService, ITaxAppService taxAppService)
 {
     this._taxRuleAppService = taxRuleAppService;
     this._taxAppService     = taxAppService;
 }