コード例 #1
0
ファイル: NDescuento.cs プロジェクト: JoaoMartin/MARISELLA
        public static string Eliminar(int idDescuento)
        {
            DDescuento Obj = new DDescuento();

            Obj.IdDescuento = idDescuento;
            return(Obj.Eliminar(Obj));
        }
コード例 #2
0
ファイル: NDescuento.cs プロジェクト: JoaoMartin/MARISELLA
        public static string Insertar(int idProducto, string tipo, decimal porcentaje, string estado)
        {
            DDescuento Obj = new DDescuento();

            Obj.IdProducto = idProducto;
            Obj.Tipo       = tipo;
            Obj.Porcentaje = porcentaje;
            Obj.Estado     = estado;
            return(Obj.Insertar(Obj));
        }
コード例 #3
0
ファイル: NDescuento.cs プロジェクト: JoaoMartin/DLALO
        public static string Editar(int idDescuento, int idProducto, decimal porcentaje, string estado)
        {
            DDescuento Obj = new DDescuento();

            Obj.IdDescuento = idDescuento;
            Obj.IdProducto  = idProducto;
            Obj.Porcentaje  = porcentaje;
            Obj.Estado      = estado;
            return(Obj.Editar(Obj));
        }