public ActionResult Edit(NewsInfo newsInfo) { newsInfoBll.Edit(newsInfo); return(Redirect(Url.Action("Index"))); }
public T Put(T item) { bool result = dbSet.Edit(item); return(result ? item : null); }