示例#1
0
        public HttpResponseMessage getById(HttpRequestMessage request, int id)
        {
            return(CreateHttpResponse(request, () =>
            {
                var model = SystemConfigService.ReadID(id);

                var response = request.CreateResponse(HttpStatusCode.OK, model);

                return response;
            }));
        }