public async Task <GetRatiosResult> GetRatiosAsync(GetRatiosCommand getRatiosCommand)
        {
            var request  = getRatiosCommand.Adapt <GetRatiosRequest>();
            var response = await _client.GetRatiosAsync(request);

            return(response.Adapt <GetRatiosResult>());
        }
Exemplo n.º 2
0
 public async Task <IList <RatioEntity> > GetRatiosAsync(GetRatiosCommand getRatiosCommand)
 {
     return(await _ratioRepository.GetRatiosAsync(getRatiosCommand));
 }
 public Task <IList <RatioEntity> > GetRatiosAsync(GetRatiosCommand getRatiosCommand)
 {
     throw new NotImplementedException();
 }