public void Handle(ActionSaved e) { var item = ModuleConfig.FirstOrDefault(c => c.ModuleNo == e.ModuleNo); if (item == null) { throw new Exception(); } item.Actions = e.Actions; SaveModule(ModuleConfig); }
public void Apply(ActionSaved e) { }
public void Handle(ActionSaved e) { var item = ModuleConfig.FirstOrDefault(c => c.ModuleNo == e.ModuleNo); if (item == null) { throw new Exception(); } item.Actions = e.Actions; SaveModule(ModuleConfig); }
public void Apply(ActionSaved e) { }