public void AddActionModel(int index, ActionModel model) { if (model != null && index>=0 && index<_actions.Count) { _actions[index] = model; } }
public void RemoveActionModel(ActionModel actionModel) { _actions.Remove(actionModel); }
public void AddActionModel(ActionModel model) { _actions.Add(model); }