public override void RemoveRange(params T[] items) { var ids = items.Select(n => n.ID).ToArray(); var widgets = WidgetBasePartService.Get(m => ids.Contains(m.ID)).ToArray(); WidgetBasePartService.RemoveRange(widgets); }
public override void RemoveRange(params T[] items) { WidgetBasePartService.RemoveRange(items.Select(m => m.ToWidgetBasePart()).ToArray()); Signal.Trigger(CacheTrigger.WidgetChanged); }
public override void RemoveRange(params T[] items) { WidgetBasePartService.RemoveRange(items.Select(m => m.ToWidgetBasePart()).ToArray()); }