public ActionResult AddAndEdit(int?ID) { TagActionModel model = new TagActionModel(); if (ID.HasValue) { var suppler = services.GetTagByID(ID.Value); model.TagID = suppler.TagID; model.TagTitle = suppler.TagTitle; } return(PartialView("_AddAndEdit", model)); }