/// <summary> /// change some poll result /// </summary> /// <param name="item">instance of poll result to change</param> public void Update(PollResult item) { db.Entry(item).State = EntityState.Modified; }
public void Update(T item) { _db.Entry(item).State = EntityState.Modified; }
/// <summary> /// change some review /// </summary> /// <param name="item">instance of review to change</param> public void Update(Review item) { db.Entry(item).State = EntityState.Modified; }
/// <summary> /// change some news /// </summary> /// <param name="item">instance of news to change</param> public void Update(News item) { db.Entry(item).State = EntityState.Modified; }