Esempio n. 1
0
        public ActionResult CheckAuthorityCode(AuthorityViewModel authority)
        {
            bool allowUse = !authService.ExistAuthorityCode(new ExistAuthorityCodeCmdDto()
            {
                SysNo    = authority.SysNo,
                AuthCode = authority.Code
            });

            return(Content(allowUse.ToString().ToLower()));
        }