コード例 #1
0
        public IActionResult update_mash(string product, string material, string mash_id)
        {
            MashModel ms = new MashModel();

            ms.mash_id              = mash_id;
            ms.mash_ref_product_id  = product;
            ms.mash_ref_material_id = material;
            ms.update_mash();

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