Tenant_Management #114

Merged
ashutosh.nehete merged 73 commits from Tenant_Management into main 2025-08-28 05:13:10 +00:00
Showing only changes of commit 76ac9de014 - Show all commits

View File

@ -584,9 +584,9 @@ namespace Marco.Pms.Services.Controllers
if (tenantId == superTenantId)
{
_logger.LogInfo("MasterMenu count for TenantId {TenantId}: {Count}", tenantId, featureMenus.Count);
return Ok(ApiResponse<object>.SuccessResponse(featureMenus, "Successfully fetched the master table list", 200));
var superResponse = featureMenus.Values.SelectMany(list => list).ToList();
_logger.LogInfo("MasterMenu count for TenantId {TenantId}: {Count}", tenantId, superResponse.Count);
return Ok(ApiResponse<object>.SuccessResponse(superResponse, "Successfully fetched the master table list", 200));
}
// Fetch features enabled for tenant
@ -600,7 +600,6 @@ namespace Marco.Pms.Services.Controllers
.ToList();
_logger.LogInfo("MasterMenu count for TenantId {TenantId}: {Count}", tenantId, response.Count);
return Ok(ApiResponse<object>.SuccessResponse(response, "Successfully fetched the master table list", 200));
}
catch (Exception ex)