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