public override bool Update(T item, DataFilter filter) { item.ExtendData = JsonConvert.SerializeObject(item); bool result = WidgetBaseService.Update(item, filter); Signal.Trigger(CacheTrigger.WidgetChanged); return(result); }
public override bool Update(T item, params object[] primaryKeys) { item.ExtendData = JsonConvert.SerializeObject(item); bool result = WidgetBaseService.Update(item, primaryKeys); Signal.Trigger(CacheTrigger.WidgetChanged); return(result); }