/// <summary> /// Check if user already ranked the specific comment /// </summary> /// <param name="commentId">Unique identification of comment</param> /// <param name="userId">Unique identification of user</param> /// <returns>Amount of user ranks by user for specific comment</returns> public async Task <int> CheckRankUser(int commentId, int userId) { return(await _commentRepository.CheckRankUser(commentId, userId)); }