BoardController.cs 985 Bytes
using Hh.Mes.Common.Request;
using Hh.Mes.POJO.Entity;
using Hh.Mes.Service;
using Hh.Mes.Service.Configure;
using Hh.Mes.Service.SystemAuth;
using Microsoft.AspNetCore.Mvc;


namespace WebMvc.Areas.board
{
    [Area("Board")]
    public class BoardController :  BaseController
    {
        private readonly StationService  stationService;

        public BoardController(StationService stationService ,IAuth authUtil) : base(authUtil)
        {
            this.stationService = stationService;
        }

        public IActionResult Index()
        {
            return View();
        }

        [HttpPost]
        public string Load(PageReq pageRequest, base_work_station entity)
        {
            return Serialize(stationService.GetBoardList(pageRequest, entity));
        }

        public IActionResult BoardissueExplain()
        {
            return View();
        }

        public IActionResult Boardmanual()
        {
            return View();
        }
    }
}