public virtual ActionResult Delete(Transport transport)
 {
     try
     {
         OpenErpConnection.GetConnection().DeleteEntity(transport);
         return RedirectToAction("Index");
     }
     catch (Exception ex)
     {
         transport.ExceptionMessage = ex.Message;
         return View(transport);
     }
 }
 //
 // GET: /Transport/Delete/5
 public virtual ActionResult Delete(int id)
 {
     var transport = new Transport {ID = id};
     return View(OpenErpConnection.GetConnection().GetEntity<Transport>(c => c.ID == transport.ID));
 }