public ActionResult CheckAuthorityCode(AuthorityViewModel authority) { bool allowUse = !authService.ExistAuthorityCode(new ExistAuthorityCodeCmdDto() { SysNo = authority.SysNo, AuthCode = authority.Code }); return(Content(allowUse.ToString().ToLower())); }