public ActionResult Create(string tablename) { ShowFormModel model = new ShowFormModel(); model.TableName = tablename; return(View(model)); }
public ActionResult Edit() { string strTableName = Request.QueryString["tablename"]; string strId = Request.QueryString["id"]; ShowFormModel model = new ShowFormModel(); model.TableName = strTableName; model.Id = strId; return(View(model)); }