public static Task <IHttpResponse> QueryByIdAsync( [QueryId(Name = IdPropertyName)] IRef <Profile> profileRef, ContentTypeResponse <Profile> onFound, NotFoundResponse onNotFound) { return(profileRef.HttpGetAsync(onFound, onNotFound)); }