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,6 +1,5 @@
using Managing.Application.Abstractions;
using Managing.Application.Abstractions.Grains;
using Managing.Application.Abstractions.Models;
using Managing.Core;
using Managing.Domain.Accounts;
using Managing.Domain.Bots;
@@ -323,7 +322,7 @@ public class LiveTradingBotGrain : Grain, ILiveTradingBotGrain, IRemindable
}
public Task<TradingBotResponse> GetBotDataAsync()
public Task<LiveTradingBotModel> GetBotDataAsync()
{
try
{
@@ -332,7 +331,7 @@ public class LiveTradingBotGrain : Grain, ILiveTradingBotGrain, IRemindable
throw new InvalidOperationException("Bot is not running");
}
return Task.FromResult(new TradingBotResponse
return Task.FromResult(new LiveTradingBotModel
{
Identifier = _state.State.Identifier,
Name = _state.State.Name,