Esempio n. 1
0
 private bool DeleteMusteri(int ID)
 {
     try
     {
         using (var musteriBussines = new MusteriBusiness())
         {
             return(musteriBussines.DeleteMusteriById(ID));
         }
     }
     catch (Exception ex)
     {
         LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
         throw new Exception("Musteri doesn't exists.");
     }
 }