public ActionResult NewMaterialClassMaintenance(MaterialClassMaintenanceModel m)
        {
            bool success = true;

            WebView.WebService._base myWebService;
            myWebService = new WebService._base();

            bool selected = false;

            WebService._base.MaterialClassMaintenance newMatClassM = new WebService._base.MaterialClassMaintenance();

            newMatClassM.MAT_CLASS  = m.MatClass;
            newMatClassM.CLASS_NAME = m.ClassName;
            success  = myWebService.AddMatClassMaintenance(newMatClassM);
            selected = true;

            if (ModelState.IsValid && selected)
            {
                if (success == true)
                {
                    return(RedirectToAction("NewSave"));
                }
                else
                {
                    return(RedirectToAction("NewSaveFail")); // store to db failed.
                }
            }

            return(View(m));
        }