Example #1
0
 public string Add(HttpContext context) {
    ApiInfo info=new ApiInfo();
     return "news add";
 }
Example #2
0
 public string GetList(HttpContext context) {
     ApiInfo exception = new ApiInfo(2, "news list err");
     string extjson = Common.json.JsonHelper<ApiInfo>.Serialize2Object(exception);
     return extjson;
 }
Example #3
0
File: News.cs Project: kangwl/xk
 public string Add(HttpRequest request) {
    ApiInfo info=new ApiInfo();
     return "news add";
 }