asp.net mvc - Passing a model to different Views -


i want pass model view called list list in different folder called results

public viewresult smokingenvironments(screen model) {     return view("list", model); } 

you can try out:

public viewresult smokingenvironments(screen model) {     return view("/views/results/list.cshtml"); } 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -