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)); }
public object DeleteTwitters(object json) { var token = Request.Headers.Authorization.Parameter; return(TwitterBiz.deleteTwi(token, json)); }