public async Task <IActionResult> Get(int id) { TenantDto tenant = await _tenantAppService.GetById(id); if (tenant == null) { return(NotFound("Tenant not found.")); } return(Ok(tenant)); }
public async Task <IActionResult> Get(int id) { TenantDto tenant = await _tenantAppService.GetById(id); if (tenant == null) { return(NotFound("Tenant not found.")); } return(Ok(tenant)); }