Exemple #1
0
        public void RemoveCategoryFromPicture(ImageDescriptor image, string categoryName)
        {
            var category = Categories.FirstOrDefault(n => n.Name == categoryName);

            if (category != null)
            {
                image.RemoveCategory(category);
                Save();
            }
        }
Exemple #2
0
 public void RemoveCategoryFromPicture(ImageDescriptor image, Category category)
 {
     image.RemoveCategory(category);
     Save();
 }