Ejemplo n.º 1
0
        public async Task <IActionResult> Index()
        {
            var tenantDto = await _tenantAppService.Get(new EntityDto((int)_AbpSession.TenantId));

            return(View(tenantDto));
        }
        public async Task <ActionResult> EditTenantModal(int tenantId)
        {
            var tenantDto = await _tenantAppService.Get(new EntityDto(tenantId));

            return(View("_EditTenantModal", tenantDto));
        }
Ejemplo n.º 3
0
 public TenantDto Edit([FromForm] EditTenantInputDto inputDto)
 {
     _tenantAppService.Edit(inputDto);
     return(_tenantAppService.Get());
 }