Created
January 5, 2013 03:38
-
-
Save jpolvora/4459583 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 ActionResult Pesquisar() | |
{ | |
// simulando consulta | |
var resultado = new List<string>() { "texto1", "texto2" }; | |
// troque por este para simular retorno de dados | |
// var resultado = new List<string>(); | |
return PartialView("ResultadosDaPesquisa", resultado.NotEmpty(defaultValue: string.Empty)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment