예제 #1
0
        public object GetTwitters(object json)
        {
            object data;

            if (json == null)
            {
                var token = Request.Headers.Authorization.Parameter;
                data = TwitterBiz.getTwis(token);
            }
            else
            {
                data = TwitterBiz.getTwis(json);
            }
            return(Helper.JsonConverter.BuildResult(data));
        }
예제 #2
0
        public object DeleteTwitters(object json)
        {
            var token = Request.Headers.Authorization.Parameter;

            return(TwitterBiz.deleteTwi(token, json));
        }