public ActionResult RevokeTicket([FromRoute] int id) { var ticket = _ticketsService.GetTicket(id); var userEmail = _userManager.GetUserId(User); if (_ticketsService.RevokeTicket(ticket, userEmail)) { return(Ok()); } return(Forbid()); }