Example #1
0
        public ActionResult GetListByParentID(string key, int parentId, Guid UserId, string listRole)
        {
            var lst = FDIUtils.StringToListInt(listRole);
            var obj = key != Keyapi ? new List <ModuleItem>() : _da.GetListByParentID(parentId, Agencyid(), UserId, lst);

            return(Json(obj, JsonRequestBehavior.AllowGet));
        }