private void LoadData() { foreach (var item in quickEventsTemplates.Templates) { Tempaltes.Add(item); } SelectedTemplate = Tempaltes.Count > 0 ? Tempaltes[0] : string.Empty; }
private void SaveAsTemplate() { Tempaltes.Add(QuickEventText); messanger.Success("Saved", false); SaveChanges(); }