Exemple #1
0
        public IActionResult SearchRole(int fid)
        {
            List <Role> list;

            try
            {
                list = userGroupBll.GetRolesList();
                list = list.Where(r => r.Fid == fid).ToList();
            }
            catch (Exception ex)
            {
                log.Error(ex.Message);
                throw;
            }
            return(Ok(new { code = 0, data = list, msg = "" }));
        }