Created
March 11, 2011 22:03
-
-
Save davidmohara/866659 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FooController : BaseController | |
{ | |
public ActionResult Index([Model]IPatientModel model) | |
{ | |
return Content("Something"); | |
} | |
} | |
public class PatientController : BaseController | |
{ | |
public ActionResult Create([Model]IPatientModel model) | |
{ | |
model.PartialRequest = PartialRequest.Of<FooController>(c => c.Index(null)); | |
return View(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment