コード例 #1
0
        public HttpResponseMessage GetTeamAccessReadByParam(HttpRequestMessage request, string search)
        {
            return(GetHttpResponse(request, () =>
            {
                TeamAccessReadMtd obj = new TeamAccessReadMtd();
                List <TeamAccessReadModel> dm = obj.GetTeamAccessReadUsingParams(search).ToList();

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

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