コード例 #1
0
        public HttpResponseMessage DashboardMainCaptionsMix(HttpRequestMessage request, string typevalu, string trendORmonthly)
        {
            HttpResponseMessage res = null;

            var dashboard2Repository = new Dashboard2Repository();

            IEnumerable <SubCaptionTrendListInfo> subcaptions = dashboard2Repository.DashboardMainCaptionMtd(typevalu, trendORmonthly);


            res = request.CreateResponse <IEnumerable>(HttpStatusCode.OK, subcaptions);

            return(res);
        }
コード例 #2
0
        public HttpResponseMessage DashboardMix(HttpRequestMessage request)
        {
            HttpResponseMessage res = null;

            var dashboard2Repository = new Dashboard2Repository();

            IEnumerable <DashboardMainCaptionListInfo> ratios = dashboard2Repository.DashboardMainCaptionMtd();


            res = request.CreateResponse <IEnumerable>(HttpStatusCode.OK, ratios);

            return(res);
        }