Example #1
0
        public void Edit(string newName, Colors newColor)
        {
            Category oldCategory = SelectedCategory.Clone();

            SelectedCategory.Name  = newName;
            SelectedCategory.Color = newColor;

            UpdateCategoryInTasks(oldCategory, SelectedCategory);

            onChangeHappened();
        }