Beispiel #1
0
        public void AddAnswerLike(int answerId)
        {
            var db   = new QuestionRepository(_conn);
            var user = db.GetUserByEmail(User.Identity.Name);

            db.AddLikeAnswer(answerId, user.Id);
        }