public Market CopyToMarket(TennisPrices.VjekosMarket MarketToCopy) { this.BackAAmount = MarketToCopy.BackAAmount.ToList(); this.BackAPrice = MarketToCopy.BackAPrice.ToList(); this.BackBAmount = MarketToCopy.BackBAmount.ToList(); this.BackBPrice = MarketToCopy.BackBPrice.ToList(); this.LayAAmount = MarketToCopy.LayAAmount.ToList(); this.LayAPrice = MarketToCopy.LayAPrice.ToList(); this.LayBAmount = MarketToCopy.LayBAmount.ToList(); this.LayBPrice = MarketToCopy.LayBPrice.ToList(); return(this); }
public TennisPrices.VjekosMarket CopyToVM() { TennisPrices.VjekosMarket Result = new TennisPrices.VjekosMarket(); Result.BackAPrice = this.BackAPrice.ToList(); Result.BackAAmount = this.BackAAmount.ToList(); Result.BackBAmount = this.BackBAmount.ToList(); Result.BackBPrice = this.BackBPrice.ToList(); Result.LayAAmount = this.LayAAmount.ToList(); Result.LayAPrice = this.LayAPrice.ToList(); Result.LayBAmount = this.LayBAmount.ToList(); Result.LayBPrice = this.LayBPrice.ToList(); return(Result); }