Exemple #1
0
 public IHttpActionResult GetCorrectNumCar(int num)
 {
     try
     {
         IDSDirectory ids_dir = new IDSDirectory(service.WebAPI_IDS);
         bool         correct = ids_dir.IsCorrectNumCar(num);
         return(Ok(correct));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }
Exemple #2
0
 public void IDSDirectory_IsCorrectNumCar()
 {
     IDSDirectory ids = new IDSDirectory(service.Test);
     bool         res = ids.IsCorrectNumCar(12345678);
 }