void HandleDeleteTemplateEvent(object sender, Entity.Entities.Template template) { templateModel.RemoveTemplates(template); HandleSearchTemplatesEvent(string.Empty, template.ParentNodeId); this.View.ClearViewAfterDeletedTemplate(); }
void HandleSaveTemplateEvent(object sender, Entity.Entities.Template template) { templateModel.UpdateTemplate(template); }