public IActionResult GetTenantByUser(int id)
        {
            var tenant = _tenantQueries.GetByUserId(id);

            if (tenant == null)
            {
                return(NotFound());
            }
            return(Ok(new
            {
                Id = tenant.Id,
                Name = tenant.Name
            }));
        }