public IActionResult GetReview([FromRoute] string eventId, [FromRoute] int pageSize, [FromRoute] int pageId) { List <ReviewModel> reviews = MongoUtil.GetReviews(new ObjectId(eventId), pageSize, pageId); List <ReviewApiModel> apiReviews = reviews.ConvertAll(new Converter <ReviewModel, ReviewApiModel>(r => { UserModel user = MongoUtil.GetUser(r.UserId); ReviewApiModel apiR = r.getReviewApiModel(user.Name); return(apiR); })); return(Ok(apiReviews)); }