Example #1
0
        /// <summary>
        /// 获取权限
        /// </summary>
        /// <param name="filter">查询对象</param>
        /// <returns></returns>
        public AuthorityDto GetAuthority(AuthorityFilterDto filter)
        {
            var authority = AuthorityService.GetAuthority(CreateAuthorityQueryObject(filter));

            return(authority.MapTo <AuthorityDto>());
        }