Beispiel #1
0
        public IActionResult modelProduct()
        {
            modelProductModel mp = new modelProductModel();

            ViewData["mp"] = mp.list_mp();;


            return(View());
        }
Beispiel #2
0
        public IActionResult addModelMash()
        {
            MaterialModel mt = new MaterialModel();

            ViewData["material"] = mt.drop_mtr("");

            modelProductModel mpd = new modelProductModel();

            ViewData["modelProduct"]      = mpd.drop_mp("");
            ViewData["modelProduct_list"] = mpd.list_mp();


            return(View());
        }