public void UpdateNewsGroup(string strId, string value) { if (strId != "") { strId = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); } NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); newsGroupDAO.UpdateNewsGroup(strId, value); }
public void UpdateNewsGroup(int Id, string value) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); newsGroupDAO.UpdateNewsGroup(Id, value); }
public void UpdateNewsGroup(NewsGroup newsGroup) { NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); newsGroupDAO.UpdateNewsGroup(newsGroup); }