コード例 #1
0
        public HttpResponseMessage GetLastModifyTime()
        {
            DataChangingLogBuss buss = new DataChangingLogBuss();
            var lastModifyTime       = buss.GetDateChangingTimeByType("Dishes");

            return(ToJson(new { LastModifyTime = lastModifyTime }));
        }
コード例 #2
0
        public HttpResponseMessage GetBannerPictures()
        {
            DataChangingLogBuss buss = new DataChangingLogBuss();
            var model = new BannersModel();

            model.LastModifyTime = buss.GetDateChangingTimeByType("Banner");
            model.ImgPaths       = buss.GetBannerPaths();

            return(ToJson(model));
        }