摘要:
http://www.cnblogs.com/shanyou/archive/2012/05/13/2497810.htmlpublicHttpResponseMessageGetCustomer(int id){ var customer = db.Customers.Find(id); if(customer ==null) { returnRequest.CreateResponse(HttpStatusCode.NotFound); } returnRequest.CreateResponse(HttpStatusCode.OK, customer);}【ASP.NET Web API 阅读全文
posted @ 2012-12-08 20:39
火腿骑士
阅读(235)
评论(0)
推荐(0)