public SPuntoControl getPuntoControl(int id) { using (trackingFULLEntities en = new trackingFULLEntities()) { try { return(_conv.modeloAEntidad(en.PuntoControl.Find(id))); } catch (Exception e) { throw e; } } }
public SAgencia getAgencia(int id) { using (trackingFULLEntities en = new trackingFULLEntities()) { try { return(_conv.modeloAEntidad(en.Agencia.Find(id))); } catch (Exception e) { throw e; } } }
public STrayecto getTrayecto(int id) { using (trackingFULLEntities en = new trackingFULLEntities()) { try { return(_conv.modeloAEntidad(en.Trayecto.Find(id))); } catch (Exception e) { throw e; } } }
public SCliente getCliente(int id) { using (trackingFULLEntities en = new trackingFULLEntities()) { try { return(_conv.modeloAEntidad(en.Cliente.Find(id))); } catch (Exception e) { throw e; } } }