Esempio n. 1
0
        public IActionResult Revoke()
        {
            var user   = User.Identity.Name;
            var result = LoginBusiness.Revoke(user);

            if (result == null)
            {
                return(BadRequest("Invalid Request"));
            }
            return(NoContent());
        }