123456789101112131415161718192021222324252627 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Net;
- using System.Net.Http;
- using EMIS.CommonLogic.SystemServices;
- using EMIS.ViewModel.SystemView;
- using Bowin.Common.Linq.Entity;
- using System.Web.Mvc;
- namespace EMIS.Web.ApiControllers.SystemManage
- {
- public class AnnouncementServicesController : Controller
- {
- public IAnnouncementServices AnnouncementServices { get; set; }
- public ActionResult GetAnnouncementViewInfo(Guid? announcementID)
- {
- return Json(AnnouncementServices.GetAnnouncementViewInfo(announcementID), JsonRequestBehavior.AllowGet);
- }
- public ActionResult GetUserAnnouncementView(Guid userID, int pageIndex, int pageSize)
- {
- return Json(AnnouncementServices.GetUserAnnouncementView(userID, pageIndex, pageSize), JsonRequestBehavior.AllowGet);
- }
- }
- }
|