asp.net mvc - how to set master layout from controller -
is there way call master layout view controller?
have tried
public actionresult validate() { return view("~/views/shared/_layout.cshtml"); }
but not working.
their overload in view method
return view ("nameofview",mastername:"viewname");
regard's shanker paudel
Comments
Post a Comment