Ejemplo n.º 1
0
 public async Task <IEnumerable <QuantityTypeContract> > GetAllQuantityTypes()
 {
     return(await apiClient.GetAllQuantityTypes());
 }
        public async Task <IEnumerable <QuantityType> > GetAllQuantityTypesAsync()
        {
            var result = await client.GetAllQuantityTypes();

            return(result.Select(r => r.ToModel()));
        }