示例#1
0
        public HttpResponseMessage Get(int id)
        {
            var app = GetApps().Where(m => m.Id.Equals(id)).FirstOrDefault();

            return(MyJson.ObjectToJson(app));
        }
示例#2
0
 public HttpResponseMessage Get()
 {
     return(MyJson.ObjectToJson(GetApps()));
 }