Exemple #1
0
 public object CountSlot()
 {
     try
     {
         var result = parkingRepository.CountSlot();
         if (result == null)
         {
             throw new Exception();
         }
         else
         {
             return(result);
         }
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }