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

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -