Example #1
0
        public IActionResult update_mmp(string material, string modelProduct, string mmp_id)
        {
            MashModelProductModel mmp = new MashModelProductModel();

            mmp.mmp_id = mmp_id;
            mmp.mmp_ref_model_product_id = modelProduct;
            mmp.mmp_ref_material_id      = material;
            mmp.update_mmp();


            return(RedirectToAction("modelMash", "Mash"));
        }