Skip to content

Instantly share code, notes, and snippets.

@davidmohara
Created March 11, 2011 22:03
Show Gist options
  • Save davidmohara/866659 to your computer and use it in GitHub Desktop.
Save davidmohara/866659 to your computer and use it in GitHub Desktop.
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