public override void Save(int testId, ABTestingItemsTO to, System.Action <bool> onResult) { var map = new Dictionary <int, ABTestingItemsTO>(); map.Add(testId, to); this.SaveAll(map, onResult); }
public ABTestingItems(ABTestingItemsTO source) { this.sourceWindowId = source.sourceWindowId; this.items = new List <ABTestingItem>(); foreach (var item in source.items) { this.items.Add(new ABTestingItem(item)); } }
public ABTestingItemsTO GetTO() { var result = new ABTestingItemsTO(); result.sourceWindowId = this.sourceWindowId; result.items = new List <ABTestingItemTO>(); foreach (var item in this.items) { result.items.Add(item.GetTO()); } return(result); }
public abstract void Save(int testId, ABTestingItemsTO data, System.Action <bool> onResult);