Example #1
0
        public IActionResult addMash()
        {
            productModel pd = new productModel();

            ViewData["product"]      = pd.drop_product("");
            ViewData["product_list"] = pd.list_product();

            MaterialModel mt = new MaterialModel();

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

            return(View());
        }
Example #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());
        }
Example #3
0
        public IActionResult mash()
        {
            MashModel ms = new MashModel();

            ViewData["mash"] = ms.list_mash();

            productModel pd = new productModel();

            ViewData["product"] = pd.drop_product("");

            MaterialModel mt = new MaterialModel();

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


            return(View());
        }