public async Task <PartialViewResult> CreateOrUpdateModal(long?id = null)
        {
            ITaxRuleAppService     taxRuleAppService = this._taxRuleAppService;
            NullableIdInput <long> nullableIdInput   = new NullableIdInput <long>()
            {
                Id = id
            };
            GetTaxRuleForEditOutput taxRuleForEdit = await taxRuleAppService.GetTaxRuleForEdit(nullableIdInput);

            return(this.PartialView("_CreateOrUpdateModal", new CreateOrUpdateTaxRuleModalViewModel(taxRuleForEdit)));
        }
 public CreateOrUpdateTaxRuleModalViewModel(GetTaxRuleForEditOutput output)
 {
     output.MapTo <GetTaxRuleForEditOutput, CreateOrUpdateTaxRuleModalViewModel>(this);
 }