public IHttpActionResult PostComment(CommentDto dto) { var commentId = service.AddComment(dto, User.Identity.GetUserId <int>()); string location = Request.RequestUri + "/" + commentId; return(Created(location, commentId)); }