internal static CommandResult FromError(string errorMessage) { var commandResult = new CommandResult(false); commandResult.SetToError(errorMessage); return(commandResult); }
internal static CommandResult FromError(Exception exception) { var commandResult = new CommandResult(false); commandResult.SetToError(exception); return(commandResult); }
internal static CommandResult FromError(string errorMessage) { var commandResult = new CommandResult(false); commandResult.SetToError(errorMessage); return commandResult; }
internal static CommandResult FromError(Exception exception) { var commandResult = new CommandResult(false); commandResult.SetToError(exception); return commandResult; }