1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

improve webfront command error feedback

This commit is contained in:
RaidMax
2022-10-25 14:52:12 -05:00
parent a2ccefd89d
commit 5112d88ce2
4 changed files with 18 additions and 6 deletions

View File

@ -7,4 +7,5 @@ namespace SharedLibraryCore.Interfaces;
public interface IRemoteCommandService
{
Task<IEnumerable<CommandResponseInfo>> Execute(int originId, int? targetId, string command, IEnumerable<string> arguments, Server server);
Task<(bool, IEnumerable<CommandResponseInfo>)> ExecuteWithResult(int originId, int? targetId, string command, IEnumerable<string> arguments, Server server);
}