private void Save() { HandlingResult result = Validate(); if (result.Successed) { StoreModel model = (StoreModel)result.Result; StoreAction action = new StoreAction(); result = action.Update(model); if (result.Successed) { MessageHelper.ShowInformationNotify(this, result.Message); DialogResult = DialogResult.Yes; } else { MessageHelper.ShowErrorNotify(this, result.Message); } } else { MessageHelper.ShowWarningNotify(this, result.Message); } }