public void OnGet() { int id = Convert.ToInt32(Request.Query["Id"][0]); Article = context.Articles.Find(id); }
public void OnGet() { article.Id = id; article = Context.Articles.Find(article.Id); ViewData["parameter"] = "/Article/Edit"; }