public IActionResult Delete(int id) { _ticket.Delete(id); var routeValues = RedirectHelper.AssignCorrectUserRedirect(CookieManager.GetRole()); return(RedirectToAction(routeValues[0], routeValues[1])); }