Beispiel #1
0
 public void Delete(ArtistCategory artistCategory)
 {
     ArtistCategoryRep.Delete(artistCategory);
     dbContext.SaveChanges();
 }
Beispiel #2
0
        public void Delete(int categoryId)
        {
            ArtistCategory artistCategory = GetById(categoryId);

            Delete(artistCategory);
        }
Beispiel #3
0
 public void Add(ArtistCategory artistCategory)
 {
     ArtistCategoryRep.Add(artistCategory);
     dbContext.SaveChanges();
 }