예제 #1
0
        public ResultModel GetAllUserPermission()
        {
            int userId = 7;

            try
            {
                var resultQuery = _permissionBLL.GetAllUserPermission(userId);
                return(new ResultModel(Code.OK, resultQuery, "thành công"));
            }
            catch (Exception)
            {
                return(new ResultModel(Code.SVERROR, "lỗi hệ thống"));
            }
        }