public async Task <IEnumerable <AccountBalanceRecordDto> > GetCustomerAccountBalance(string cid) { _logger.LogDebug($"Request balance of customer : {cid} "); var e = (await _service.GetBalanceAsync(cid)); var r = e.Select(x => _mapper.Map <AccountBalanceRecordDto>(x)); return(r); }