public IActionResult fetchProjectList(string limit, string page, string PROJECT_CODE, string PROJECT_NAME, string PROJECT_PARTYA_ID, string PROJECT_PARTYB_ID, string BEGIN_PROJECT_SETDATE, string END_PROJECT_SETDATE) { //UserModule user = new UserModule(); //string Admin = user.getAdminCode(); //bool isAdmin = UserId.Equals(Admin); //Dictionary<string, object> res = mm.GetPagedTable(isAdmin); //return Json(res); Dictionary <string, object> d = new Dictionary <string, object>(); d["limit"] = limit; d["page"] = page; d["PROJECT_CODE"] = PROJECT_CODE; d["PROJECT_NAME"] = PROJECT_NAME; d["PROJECT_PARTYA_ID"] = PROJECT_PARTYA_ID; d["PROJECT_PARTYB_ID"] = PROJECT_PARTYB_ID; d["BEGIN_PROJECT_SETDATE"] = BEGIN_PROJECT_SETDATE; d["END_PROJECT_SETDATE"] = END_PROJECT_SETDATE; Dictionary <string, object> res = mm.fetchProjectList(d); return(Json(res)); }