public void CategoryRepository_Update_1()
 {
     CategoryRepository categoryRepository = new CategoryRepository();
     Category category = categoryRepository.GetByIDs(1);
     category = new Category() { CategoryID=1, Name="Cake" };
     Assert.AreEqual(1, categoryRepository.Update(category));
 }
 public void CategoryRepository_Delete_1()
 {
     CategoryRepository categoryRepository = new CategoryRepository();
     Category category = categoryRepository.GetByIDs(2);
     Assert.AreEqual(1, categoryRepository.Deletes(category));
 }