Skip to content

Instantly share code, notes, and snippets.

@johnnonolan
Created August 31, 2010 13:43
Show Gist options
  • Save johnnonolan/559037 to your computer and use it in GitHub Desktop.
Save johnnonolan/559037 to your computer and use it in GitHub Desktop.
public ActionResult Index()
{
var meh =
_meh.GetMeh(contentpageId);
var blah = something.GetValueOrDefault() ?
something.Something : something.Something.Where(s => s.SomethingElse);
var aTruth = _wibble.IsThisTrue(whee);
var arghh =
_meh.DiddleMe(whee);
var viewModel = new aViewModel(
someCtorStuff
);
return View(viewModel);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment