예제 #1
0
 public void CreateComment(Comment comment)
 {
     _dbContext.Comments.Add(comment);
     _dbContext.SaveChanges();
 }
 public void Add(UserTicket userTicket)
 {
     _context.UserTickets.Add(userTicket);
     _context.SaveChanges();
 }