/// <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;
 }
Beispiel #2
0
 public void Update(T item)
 {
     _db.Entry(item).State = EntityState.Modified;
 }
Beispiel #3
0
 /// <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;
 }
Beispiel #4
0
 /// <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;
 }