Skip to content

Instantly share code, notes, and snippets.

@waldyrfelix
Created July 6, 2011 01:39
Show Gist options
  • Save waldyrfelix/1066356 to your computer and use it in GitHub Desktop.
Save waldyrfelix/1066356 to your computer and use it in GitHub Desktop.
Exemplo de Action passando ViewModel para a View.
public ActionResult AgendarPagamento()
{
var contas = recuperarContasAPagar();
var viewModel = new AgendamentoDePagamentoViewModel(contas);
return View(viewModel);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment