ShareRecordServicesController.cs 991 B

123456789101112131415161718192021222324252627
  1. using EMIS.CommonLogic.ProjectShareManage;
  2. using EMIS.ViewModel;
  3. using EMIS.Web.Controls;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Web;
  8. using System.Web.Mvc;
  9. namespace EMIS.Web.ServiceControllers.ShareRecord
  10. {
  11. public class ShareRecordServicesController : Controller
  12. {
  13. //
  14. // GET: /ShareRecordServices/
  15. public IShareRecordServices shareRecordServices { get; set; }
  16. public ActionResult GetShareRecordView(Guid userID, int pageIndex, int pageSize)
  17. {
  18. ConfiguretView configuretView = ConfiguretExtensions.GetConfiguretermsView(null);
  19. //return base.Json(shareRecordServices.GetShareRecordViewGrid(configuretView, startTime, endTime, title, userID, (int)pararms.page, (int)pararms.rows));
  20. return Json(shareRecordServices.GetShareRecordViewGrid(configuretView, null, null, null, userID, pageIndex, pageSize), JsonRequestBehavior.AllowGet);
  21. }
  22. }
  23. }