Esempio n. 1
0
 public bool Update(Mesaj entity)
 {
     if (entity != null)
     {
         try
         {
             _mesajRepo.Update(entity);
             return(true);
         }
         catch
         {
             throw new Exception("Beklenmedik bir hata oluştu.");
         }
     }
     else
     {
         throw new Exception("Boş veri eklenemez.");
     }
 }
Esempio n. 2
0
 public void Update(Mesaj entity)
 {
     _mesajDAL.Update(entity);
 }