style(backend): apply dotnet format whitespace normalization

- Applied dotnet format to 24 files in backend/
- Corrects spacing, indentation, and formatting consistency
- No functional changes to code logic

Ultraworked with Sisyphus <https://github.com/code-yeongyu/oh-my-opencode>
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
WorkClub Automation
2026-03-05 11:07:19 +01:00
parent 8ba22d3dc3
commit 1a5d5e8651
23 changed files with 190 additions and 189 deletions

View File

@@ -39,10 +39,11 @@ public class SaveChangesTenantInterceptor : SaveChangesInterceptor
private void SetTenantIdForNewEntities(DbContext? context)
{
if (context == null) return;
if (context == null)
return;
var tenantId = _tenantAccessor.MultiTenantContext?.TenantInfo?.Identifier;
if (string.IsNullOrWhiteSpace(tenantId))
{
_logger.LogWarning("No tenant context available for SaveChanges");
@@ -61,7 +62,7 @@ public class SaveChangesTenantInterceptor : SaveChangesInterceptor
if (string.IsNullOrWhiteSpace(tenantEntity.TenantId))
{
tenantEntity.TenantId = tenantId;
_logger.LogDebug("Set TenantId for entity {EntityType}: {TenantId}",
_logger.LogDebug("Set TenantId for entity {EntityType}: {TenantId}",
entry.Entity.GetType().Name, tenantId);
}
}