public virtual void ShowDialog(TModel model, FWorkActionModel actionModel) { this.IsVisible = true; this.Init(model, actionModel); this.OnShowModal(ModalEdit); this.OnChanged(); }
public virtual void Init(TModel model, FWorkActionModel actionModel) { PageModel = model ?? new TModel(); ActionModel = actionModel; }