public int AddCategoryService(Category category)
 {
     try
     {
         return(_categoryRepository.AddItem(category));
     }
     catch (Exception e)
     {
         MessageBox.Show("Hata: " + e.Message);
         return(0);
     }
 }