コード例 #1
0
        public HttpResponseMessage GetDimAudByParam(HttpRequestMessage request, string search)
        {
            return(GetHttpResponse(request, () =>
            {
                DimAuditMtd obj = new DimAuditMtd();
                List <DimAuditModel> dm = obj.GetDimAuditUsingParams(search).ToList();

                return request.CreateResponse(HttpStatusCode.OK, dm);
            }));
        }
コード例 #2
0
        public HttpResponseMessage GetDimAud(HttpRequestMessage request)
        {
            return(GetHttpResponse(request, () =>
            {
                DimAuditMtd obj = new DimAuditMtd();
                List <DimAuditModel> dm = obj.GetDimAudit().ToList();

                return request.CreateResponse(HttpStatusCode.OK, dm);
            }));
        }