What is the most natural way to return an empty ActionResult (for a child action)?
public ActionResult TestAction(bool returnValue) { if (!returnValue) return View(EmptyView); return View(RealView); }
One of the options that I see is to create an empty view and reference it in the EmptyView ... but maybe there is some built-in option?
asp.net-mvc
SiberianGuy Jul 28 '11 at 10:38 2011-07-28 10:38
source share