public class welcomecontroler { public action steps(model) { return view(model) } } public class payment{ public action sample() {Model model = new Model(); return partialview("~/Views/welcome/steps",model); //i tried all these ways //return partialview("../Views/welcome/steps",model); //return partialview("~/Views/welcome/steps.cshtml",model); //return partialview("~/Views/welcome/steps",model); //return partialview("../Views/welcome/steps.cshtml",model); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)