Пример #1
0
        public ActionResult DeleteControlForRole(int roleId, int controlId)
        {
            IControlService controlService = new ControlService();

            controlService.DeleteControlForRole(baseAddress, $"control/deletecontrolforrole?roleId={roleId}&&controlId={controlId}");
            List <ControlModel> lstControlRole = controlService.GetControlRole(baseAddress, $"control/getcontrolforrole?roleId={roleId}&&x=1");

            return(Json(lstControlRole));
        }