示例#1
0
        public IActionResult Delete(int id)
        {
            _ticket.Delete(id);
            var routeValues = RedirectHelper.AssignCorrectUserRedirect(CookieManager.GetRole());

            return(RedirectToAction(routeValues[0], routeValues[1]));
        }