public ActionResult Delete(string id) { INewsDao dao = _factory.NewsDao; dao.Delete(dao.Get(id)); return(Json(new { success = true })); }
public void Delete(News obj) { dao.Delete(obj); }
public ActionResult Delete(string id) { INewsDao dao = _factory.NewsDao; dao.Delete(dao.Get(id)); return(Json(new { success = true })); }
public void Delete(News obj) { dao.Delete(obj); }