/// <inheritdoc/>
        public async Task <IReadOnlyList <FixedCommissionAmount> > GetFixedCommissionAsync()
        {
            var request  = new GetAllFixedCommissionsRequest();
            var response = await this.fixedCommissionsClient.GetAllFixedCommissionsAsync(request);

            return(this.mapper.Map <List <FixedCommissionAmount> >(response.FixedCommissions).AsReadOnly());
        }
        /// <inheritdoc/>
        public override async Task <GetAllFixedCommissionsResponse> GetAllFixedCommissions(GetAllFixedCommissionsRequest request, ServerCallContext context)
        {
            var fixedCommissions = await this.fixedCommissionService.GetFixedCommissionAsync();

            return(new GetAllFixedCommissionsResponse
            {
                FixedCommissions = { this.mapper.Map <IEnumerable <FixedCommissionAmount> >(fixedCommissions) },
            });
        }