public ActionResult Create() { DICTIONARY_AGE_CATEGORIES R = new DICTIONARY_AGE_CATEGORIES(); return(View(R)); }
public ActionResult CreateA(DICTIONARY_AGE_CATEGORIES R) { try { if (ModelState.IsValid) { db.DICTIONARY_AGE_CATEGORIES.Add(R); } db.SaveChanges(); return(RedirectToAction("ALLCategories")); } catch { return(View(R)); } }