Clean namings and namespace

This commit is contained in:
2025-08-05 17:45:44 +07:00
parent 843239d187
commit 7d92031059
30 changed files with 67 additions and 64 deletions

View File

@@ -1,5 +1,5 @@
using Managing.Application.Abstractions;
using Managing.Application.Abstractions.Repositories;
using Managing.Application.Abstractions.Repositories;
using Managing.Application.Abstractions.Services;
using Managing.Domain.MoneyManagements;
using Managing.Domain.Users;
using Microsoft.Extensions.Logging;
@@ -47,9 +47,9 @@ public class MoneyManagementService : IMoneyManagementService
TakeProfit = request.TakeProfit,
Leverage = request.Leverage
};
await _settingsRepository.InsertMoneyManagement(lightRequest, user);
// Return the created money management with user
return new MoneyManagement
{
@@ -81,7 +81,7 @@ public class MoneyManagementService : IMoneyManagementService
};
await _settingsRepository.UpdateMoneyManagementAsync(lightRequest, user);
// Return updated money management
return new MoneyManagement
{