public List <Comment> QueryCommentsFromPhoto(QueryCommentsFromPhotoInformation query) { return(_jsonPlaceHolderClient.GetCommentsWithPhotoId(query.PhotoId).Select(x => x.ToServiceResponseContract()).ToList()); }
public List <Comment> CommentsFromPhoto([FromUri] QueryCommentsFromPhotoInformation query) { return(this._photoAlbumManager.QueryCommentsFromPhoto(query)); }