123456789101112131415161718192021222324252627282930313233343536 |
- using Business.ZS;
- using M55128_rec.Business.ZS;
- using M55128_rec.Models.ViewModels.TrendChartModel;
- using Models.Entity.LottomatBaseDB;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.Mvc;
- namespace M55128_rec.Controllers
- {
- [RoutePrefix("zs")]
- public class ZSController : Controller
- {
- // GET: ZS
- [Route("index.html")]
- public ActionResult Index()
- {
- List<TrendChart_Preview> model = ZSapiBLL.GetTrendChartNewsList("QGC");
- return View(model);
- }
- public ActionResult ZSList(string t) {
- List<TempTrendChartPreviewItem> model = ZSapiBLL.GetTrendChartNewsList(t)[0].TrendChartPreviewItems;
- return PartialView(model);
- }
-
- [Route("{c?}/{id?}.html")]
- public ActionResult ZSDetail(string id)
- {
- Base_TrendChart model= ZSBLL.GetTrendChartById(id);
- return View(model);
- }
- }
- }
|