public async Task <ErrorCodeResponse <TradingConditionErrorCodesContract> > UpdateClientTradingConditions(
            [FromBody] UpdateClientTradingConditionsBulkRequest request)
        {
            var updates = request.Updates.Select(p => (p.ClientId, p.TradingConditionId)).ToList();
            var result  = await _accountManagementService.UpdateClientTradingConditions(updates,
                                                                                        request.Username);

            var response = new ErrorCodeResponse <TradingConditionErrorCodesContract>();

            if (result.IsFailed)
            {
                response.ErrorCode =
                    _convertService.Convert <TradingConditionErrorCodes, TradingConditionErrorCodesContract>(result.Error.Value);
            }

            return(response);
        }