예제 #1
0
 public CommentReactionModel Update(int id, CommentReactionModel CommentReactionModel)
 {
     throw new NotImplementedException();
 }
예제 #2
0
 public IActionResult Update(int id, CommentReactionModel model)
 {
     return(Ok(_db.Update(id, model)));
 }
예제 #3
0
 public CommentReactionModel Create(CommentReactionModel CommentReactionModel)
 {
     _dbReference.CommentReactionModel.Add(CommentReactionModel);
     _dbReference.SaveChanges();
     return(CommentReactionModel);
 }
예제 #4
0
 public IActionResult Create(CommentReactionModel model)
 {
     return(Ok(_db.Create(model)));
 }