Exemplo n.º 1
0
    public List <Productos_ot> MotrarAllProductosOt()
    {
        Productos_otNeg potneg = new Productos_otNeg();
        var             lista  = potneg.MostrarAllProductoOT();

        return(lista.ToList());
    }
Exemplo n.º 2
0
    public int BorrarProductoOTBYIDPRODUCTOOT(int ID_PRODUCTO_OT)
    {
        Productos_otNeg potneg = new Productos_otNeg();

        return(potneg.BorrarProductoOT(ID_PRODUCTO_OT));
    }
Exemplo n.º 3
0
    public List <spSeleccionarTodoByIdOt> MostrarProductosOtByIDOT(int ID_OT)
    {
        Productos_otNeg potneg = new Productos_otNeg();

        return(potneg.MostrarProductoOTByIDOT(ID_OT));
    }
Exemplo n.º 4
0
    public PRODUCTOS_OT MostrarProductosOtByIDProducto(string PRODUCTO_COD)
    {
        Productos_otNeg potneg = new Productos_otNeg();

        return(potneg.MostrarProductoOTByIDProducto(PRODUCTO_COD));
    }
Exemplo n.º 5
0
    public PRODUCTOS_OT MostrarProductosOtByID(int ID_PRODUCTO_OT)
    {
        Productos_otNeg potneg = new Productos_otNeg();

        return(potneg.MostrarProductoOTByID(ID_PRODUCTO_OT));
    }
Exemplo n.º 6
0
    public int ModificarProductoOTbyID(int ID_PRODUCTO_OT, string PRODUCTO_COD, int ID_OT)
    {
        Productos_otNeg potneg = new Productos_otNeg();

        return(potneg.ModificarProductoOTByID(ID_PRODUCTO_OT, PRODUCTO_COD, ID_OT));
    }
Exemplo n.º 7
0
    public int AgregarProductoOt(string PRODUCTO_COD, int ID_OT, int CANTIDAD, int VALOR_TOTAL)
    {
        Productos_otNeg potneg = new Productos_otNeg();

        return(potneg.AgregarProductosOt(PRODUCTO_COD, ID_OT, CANTIDAD, VALOR_TOTAL));
    }