Esempio n. 1
0
 public Review Save(Review review)
 {
     db.Reviews.Add(review);
     db.SaveChanges();
     return(review);
 }
Esempio n. 2
0
 public Offer Save(Offer offer)
 {
     db.Offers.Add(offer);
     db.SaveChanges();
     return(offer);
 }
Esempio n. 3
0
 public Seed Save(Seed seed)
 {
     db.Seeds.Add(seed);
     db.SaveChanges();
     return(seed);
 }