asp.net mvc 3 - Returning View with Specific Route Name (MVC4) -


i returning view based on specific value. there 2 different routes can serve view. how can specify route name in

 this.return view(mymodel);    var defaultroute = url.routeurl("default", new { action = "abc", controller = "xyz", id = viewmodel.id }); 

i have couple of routes. how can specify route name while returning view


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -