Example #1
0
 public bool AracRezervasyonu(int id)
 {
     try
     {
         bool isSuccess;
         using (var repo = new AracRepository())
         {
             isSuccess = repo.AracRezervasyonu(id);
         }
         return(isSuccess);
     }
     catch (Exception ex)
     {
         LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
         throw new Exception("BusinessLogic:AracBusiness::UpdateArac::Error occured.", ex);
     }
 }