Ejemplo n.º 1
0
        public async Task <IActionResult> Get(int id)
        {
            TenantDto tenant = await _tenantAppService.GetById(id);

            if (tenant == null)
            {
                return(NotFound("Tenant not found."));
            }

            return(Ok(tenant));
        }