public UserOrder() { UserNum = 0; Table = 0; Pepper = -1; Details = ""; Price = 0; SampleItems.Clear(); }
public virtual async Task LoadDataAsync() { SampleItems.Clear(); var data = await SampleDataService.GetSampleModelDataAsync(); foreach (T item in data) { SampleItems.Add(item); } }
public override async Task LoadDataAsync() { SampleItems.Clear(); var data = await SampleDataService.GetSampleModelDataAsync(); foreach (var item in data) { SampleItems.Add(new SampleOrderWithSymbol(item)); } }
public UserOrder(bool flag) { UserNum = 0; Table = 0; Pepper = -1; Details = ""; Price = 0; SampleItems.Clear(); if (flag) { this.OrderId = id; id++; } }