public DataTable ObtenerDetalleDEPago(int idPago) { try { return(DaoPago.CrearDao().ObtenerDetalleDePagos(idPago)); } catch { throw; } }
public Pago ObtenerInformacionDePagoCliente(int idCliente) { Pago myPago = new Pago(); DataTable myDataTable = DaoPago.CrearDao().ObtenerInformacionPagoCliente(idCliente); if (myDataTable.Rows.Count.Equals(0)) { return(null); } DataRow myRow = myDataTable.Rows[0]; myPago.Id_Pago = int.Parse(myRow["ID"].ToString()); myPago.DiaVencimiento = int.Parse(myRow["Dia"].ToString()); myPago.Saldo = double.Parse(myRow["Saldo"].ToString()); myPago.CuotasPactadas = int.Parse(myRow["Cuotas"].ToString()); return(myPago); }
public CtrPago() { objDaoPago = new DaoPago(); }
public CtrPago() { objpagodao = new DaoPago(); }
public static int obtenerPedidoPorNroPedido(long nro_pedido) { return(DaoPago.obtenerPedidoPorNroPedido(nro_pedido)); }
public static List <PedidoEnvioView> obtenerPedidosPagados() { return(DaoPago.obtenerPedidosPagados()); }
public static void registrarPagoDelivery(int id, int id_estado) { DaoPago.registrarPagoDelivery(id, id_estado); }
public static void registrarPagoLocal(int id, int id_estado) { DaoPago.registrarPagoLocal(id, id_estado); }