public void UpdateNewsRegisterApproval(string strId, string value, string username, DateTime date) { string restr = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); NewsRegisterDAO _newsRegisterDAO = new NewsRegisterDAO(); _newsRegisterDAO.UpdateNewsRegisterApproval(restr, value, username, date); }
public void UpdateNewsRegisterApproval(int Id, string value, string username, DateTime date) { NewsRegisterDAO _newsRegisterDAO = new NewsRegisterDAO(); _newsRegisterDAO.UpdateNewsRegisterApproval(Id, value, username, date); }