Example #1
0
 public void Save(User user)
 {
     _db.Users.Add(user);
     _db.SaveChanges();
 }
Example #2
0
 public void Save(Campaign campaign)
 {
     _db.Campaigns.Add(campaign);
     _db.SaveChanges();
 }