public CommentReactionModel Update(int id, CommentReactionModel CommentReactionModel) { throw new NotImplementedException(); }
public IActionResult Update(int id, CommentReactionModel model) { return(Ok(_db.Update(id, model))); }
public CommentReactionModel Create(CommentReactionModel CommentReactionModel) { _dbReference.CommentReactionModel.Add(CommentReactionModel); _dbReference.SaveChanges(); return(CommentReactionModel); }
public IActionResult Create(CommentReactionModel model) { return(Ok(_db.Create(model))); }