Clean namings and namespace
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user