public async Task <IActionResult> DeleteAsync(int id)
        {
            try {
                await _tradeRepository.DeleteAsync(id);
            } catch (InvalidOperationException e) {
                _logger.LogInformation(e, $"Found no trade entry with id: {id}.");
                return(NotFound(e.Message));
            }

            return(NoContent());
        }