CommonServicesController.cs 707 B

123456789101112131415161718192021222324
  1. using EMIS.CommonLogic.SystemSetting;
  2. using EMIS.ViewModel;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Web;
  7. using System.Web.Mvc;
  8. namespace EMIS.Web.ServiceControllers
  9. {
  10. public class CommonServicesController : Controller
  11. {
  12. //
  13. // GET: /CommonServices/
  14. public IDictionaryItemServices dictionaryItemServices { get; set; }
  15. public ActionResult GetDictionaryViewList(string dictionaryCode)
  16. {
  17. ConfiguretView configuretView = new ConfiguretView();
  18. return Json(dictionaryItemServices.GetDictionaryItemViewList(configuretView, dictionaryCode, null, 1), JsonRequestBehavior.AllowGet);
  19. }
  20. }
  21. }