Example #1
0
 public void Delete(Book book)
 {
     try
     {
         _bookDal.DeleteEntity(book);
     }
     catch (Exception)
     {
         throw new Exception("Silme gerçekleşemedi");
     }
 }
Example #2
0
        public void Delete(Book book)
        {
            //try
            //{
            _bookDal.DeleteEntity(book);
            //}
            //catch (Exception)
            //{

            //   throw new Exception("Silme gerçekleşemedi");

            //}
        }