Exemple #1
0
 public IHttpActionResult PostOperationDown1PositionWayOfPark([FromBody] OperationSelectWayOfPark value)
 {
     try
     {
         IDSDirectory ids_wir = new IDSDirectory(service.WebAPI_IDS);
         int          result  = ids_wir.OperationDown1PositionWayOfPark(value.id_way, value.user);
         return(Ok(result));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }
Exemple #2
0
 public void IDSDirectory_OperationDown1PositionWayOfPark()
 {
     IDSDirectory ids     = new IDSDirectory(service.Test);
     EFDbContext  context = new EFDbContext();
     int          res     = ids.OperationDown1PositionWayOfPark(ref context, 595, "test_user");
 }