شما کد رو با query string نمیفرستید که!! دارید با route میفرستید.
 var id = ViewContext.RouteData.Values["id"];