public async Task <HttpResponseMessage> GetAllUserResourceGroupsBySubscription(string subscriptionId) { var json = await AzureResourceManagerUtil.GetUserResourceGroups(subscriptionId); var response = this.Request.CreateResponse(HttpStatusCode.OK); response.Content = json.ToStringContent(); return(response); }