Example #1
0
 public int AddUrunService(Urun urun)
 {
     try
     {
         return(_urunRepository.AddItem(urun));
     }
     catch (Exception e)
     {
         MessageBox.Show("Hata : " + e.Message);
         return(0);
     }
 }