private async Task <SignalsDTO> CheckSignals(string currency) { SignalCommand signalCommand = new SignalCommand { Currency = currency }; CommandResult <SignalsDTO> commandResult = await _cryptoCompareGateway.LatestSignals(signalCommand); return(commandResult?.Content); }
public async Task <CommandResult <SignalsDTO> > LatestSignals([FromQuery] SignalCommand command) { var result = await _cryptoCompareGateway.LatestSignals(command); return(result); }