Esempio n. 1
0
 public bool UpdateSirket(Sirket entity)
 {
     try
     {
         bool isSuccess;
         using (var repo = new SirketRepository())
         {
             isSuccess = repo.Update(entity);
         }
         return(isSuccess);
     }
     catch (Exception ex)
     {
         throw new Exception("SirketBusiness:SirketRepository:Güncelleme Hatası", ex);
     }
 }
Esempio n. 2
0
 public bool UpdateSirket(Sirket entity)
 {
     try
     {
         bool isSuccess;
         using (var repo = new SirketRepository())
         {
             isSuccess = repo.Update(entity);
         }
         return(isSuccess);
     }
     catch (Exception ex)
     {
         LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
         throw new Exception("BusinessLogic:SirketBusiness::UpdateSirket::Error occured.", ex);
     }
 }
Esempio n. 3
0
 public bool SirketGuncelle(Sirket sirket)
 {
     try
     {
         bool isSuccess;
         using (var repo = new SirketRepository())
         {
             isSuccess = repo.Update(sirket);
         }
         return(isSuccess);
     }
     catch (Exception ex)
     {
         LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
         throw new Exception("Business:SirketBusiness::SirketGuncelle::Hata Oluştu.", ex);
     }
 }