public async Task <List <PriceCurrency> > GetPrices() { List <PriceCurrency> priceCurrencies = new List <PriceCurrency>(); var DollarPrice = new DollarPrice(); var RealPrice = new RealPrice(); DollarPrice = await dollarService.GetPrice(); RealPrice = await realService.GetPrice(); priceCurrencies.Add(DollarPrice); priceCurrencies.Add(RealPrice); return(priceCurrencies); }
public override int GetHashCode() { int hash = 1; if (MallId != 0) { hash ^= MallId.GetHashCode(); } if (CommodityType != 0) { hash ^= CommodityType.GetHashCode(); } if (MallSort != 0) { hash ^= MallSort.GetHashCode(); } if (MallName.Length != 0) { hash ^= MallName.GetHashCode(); } if (MallDesc.Length != 0) { hash ^= MallDesc.GetHashCode(); } if (GiftImage.Length != 0) { hash ^= GiftImage.GetHashCode(); } if (Slot != 0) { hash ^= Slot.GetHashCode(); } if (MallLabel != 0) { hash ^= MallLabel.GetHashCode(); } if (LabelImage.Length != 0) { hash ^= LabelImage.GetHashCode(); } if (RealPrice != 0) { hash ^= RealPrice.GetHashCode(); } if (OriginalPrice != 0) { hash ^= OriginalPrice.GetHashCode(); } if (BuyMax != 0) { hash ^= BuyMax.GetHashCode(); } if (BuyRefreshDay != 0) { hash ^= BuyRefreshDay.GetHashCode(); } hash ^= award_.GetHashCode(); if (StartTime != 0L) { hash ^= StartTime.GetHashCode(); } if (EndTime != 0L) { hash ^= EndTime.GetHashCode(); } if (Special != false) { hash ^= Special.GetHashCode(); } return(hash); }