Example #1
0
 public void CreatePartner(Partner partner)
 {
     _context.Partner.Add(partner);
     _context.SaveChanges();
 }
Example #2
0
 public void AddArmChair(ArmChair armChair)
 {
     _context.ArmChair.Add(armChair);
     _context.SaveChanges();
 }
Example #3
0
 public void AddArmChairByRoom(ArmChairByRoom armChairByRoom)
 {
     _context.ArmChairByRoom.Add(armChairByRoom);
     _context.SaveChanges();
 }
 public void AddMovie(Movie movie)
 {
     _context.Movie.Add(movie);
     _context.SaveChanges();
 }