public ActionResult Delete(int MaterialTypId)
        {
            MaterialType mt = new MaterialType();

            mt.MaterialTypId = MaterialTypId;
            mt.Delete();
            return(RedirectToAction("ShowAll"));
        }