public ActionResult EditTypical(TypicalMgmtInfo tInfo, string typeOfSubmit)
        {
            if (ModelState.IsValid)
            {
                using (var sRepository = new SpecRequestRepository())
                {
                    sRepository.UpdateTypical(tInfo, typeOfSubmit != "Save Changes");

                    return(RedirectToAction("Manage"));
                }
            }

            return(View(tInfo));
        }
        public ActionResult AddTypical(TypicalMgmtInfo tInfo, string typeOfSubmit)
        {
            if (ModelState.IsValid)
            {
                using (var sRepository = new SpecRequestRepository())
                {
                    sRepository.AddTypical(tInfo, typeOfSubmit == "Publish");

                    return(RedirectToAction("Manage"));
                }
            }

            return(View(tInfo));
        }