public Response<Entities.Action> deleteGroupCanDoAction(string groupId, string actionId) { IncomingWebRequestContext requestContext = WebOperationContext.Current.IncomingRequest; Dictionary<string, string> data = new Dictionary<string, string>(); string authString = requestContext.Headers[HttpRequestHeader.Authorization]; data.Add("user_account_id", groupId); data.Add("action_id", actionId); Request request = makeRequest(requestContext, trimData(data), authString); ActionController controller = new ActionController(); return controller.Call(request); }
public Response<RestService.Entities.Action> getActions() { IncomingWebRequestContext requestContext = WebOperationContext.Current.IncomingRequest; Dictionary<string, string> data = new Dictionary<string, string>(); string authString = requestContext.Headers[HttpRequestHeader.Authorization]; Request request = makeRequest(requestContext, trimData(data), authString); ActionController controller = new ActionController(); return controller.Call(request); }