public Response<UserGroup> postUserGroup(UserGroup userGroup)
        {
            IncomingWebRequestContext requestContext = WebOperationContext.Current.IncomingRequest;

            Dictionary<string, string> data = new Dictionary<string, string>();

            string authString = requestContext.Headers[HttpRequestHeader.Authorization];

            data.Add("name", userGroup.name);
            data.Add("description", userGroup.description);

            Request request = makeRequest(requestContext, trimData(data),authString);

            UserGroupController controller = new UserGroupController();

            return controller.Call(request);
        }
        public Response<UserGroup> postUserInUsergroup(string userId, string groupId)
        {
            IncomingWebRequestContext requestContext = WebOperationContext.Current.IncomingRequest;

            Dictionary<string, string> data = new Dictionary<string, string>();

            string authString = requestContext.Headers[HttpRequestHeader.Authorization];

            data.Add("user_account_id", userId);
            data.Add("user_group_id", userId);

            Request request = makeRequest(requestContext, trimData(data), authString);

            UserGroupController controller = new UserGroupController();

            return controller.Call(request);
        }
        public Response<UserGroup> deleteUserGroup(string id)
        {
            IncomingWebRequestContext requestContext = WebOperationContext.Current.IncomingRequest;

            Dictionary<string, string> data = new Dictionary<string, string>();

            string authString = requestContext.Headers[HttpRequestHeader.Authorization];

            data.Add("id", id);

            Request request = makeRequest(requestContext, trimData(data), authString);

            UserGroupController controller = new UserGroupController();

            return controller.Call(request);
        }