Пример #1
0
 public void UpdateAdvert(sporteventstable advert)
 {
     //context.Entry(advert).State = EntityState.Modified;
 }
Пример #2
0
 public void InsertAdvert(sporteventstable advert)
 {
     context.sporteventstables.Add(advert);
 }