Example #1
0
    public List <Detalle_factura> MotrarAllDetalleFactura()
    {
        Detalle_facturaNeg dfneg = new Detalle_facturaNeg();
        var lista = dfneg.MostrarAllDetalleFactura();

        return(lista.ToList());
    }
Example #2
0
    public int AgregarDetalleFactura(int ID_OT, int ID_FACTURA)
    {
        Detalle_factura df = new Detalle_factura();

        df.Id_ot      = ID_OT;
        df.Id_factura = ID_FACTURA;

        Detalle_facturaNeg dfneg = new Detalle_facturaNeg();

        return(dfneg.AgregarDetalleFactura());
    }
Example #3
0
    public DETALLE_FACTURA MostrarDetalleFacturaByID(int ID_DETALLE_FAC)
    {
        Detalle_facturaNeg dfneg = new Detalle_facturaNeg();

        return(dfneg.MostrarDetalleFacturaByID(ID_DETALLE_FAC));
    }
Example #4
0
    public int ModificarDetalleFacturabyID(int ID_DETALLE_FAC, int ID_OT, int ID_FACTURA)
    {
        Detalle_facturaNeg dfneg = new Detalle_facturaNeg();

        return(dfneg.ModificarDetalleFacturaByID(ID_DETALLE_FAC, ID_OT, ID_FACTURA));
    }