public IActionResult Ignore(int id)
        {
            Connection connect;

            try
            {
                connect = _context.Connections.Include(conn => conn.ConnectedTo).Include(conn => conn.Connector).Single(conn => conn.ConnectionId == id);
            }
            catch
            {
                return(RedirectToAction("Profile"));
            }
            if (connect.ConnectedToId != (int)HttpContext.Session.GetInt32("currUser") && connect.ConnectorId != (int)HttpContext.Session.GetInt32("currUser"))
            {
                return(RedirectToAction("Profile"));
            }
            _context.Remove(connect);
            _context.SaveChanges();
            return(RedirectToAction("Profile"));
        }