public GroupUser LeaveGroup(GroupUser groupUser) { _context.Remove(groupUser); _context.SaveChanges(); return(groupUser); }
public Group DeleteGroup(Group group) { _context.Remove(group); _context.SaveChanges(); return(group); }
public Post DeletePost(Post post) { _context.Remove(post); _context.SaveChanges(); return(post); }
public Comment DeleteComment(Comment comment) { _context.Remove(comment); _context.SaveChanges(); return(comment); }
public void RemoveCommentReaction(CommentReaction commentReaction) { _context.Remove(commentReaction); _context.SaveChanges(); }