Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. @model IEnumerable<Generico.Dominio.TB_NOTIFICACAO>
  2.  
  3.  
  4. @if (Model.Count() > 0)
  5. {
  6. foreach (var item in Model)
  7. {
  8. <a href="Home/LerNotificacao/@item.IDNOTIFICACAO">
  9. <!--lista de notificações-->
  10. <i class="fa fa-users text-aqua"></i> @Html.DisplayFor(c => item.DESCRICAO); <br />
  11. </a>
  12. }
  13. }
  14.  
  15. public ActionResult ListarValorAssinatura()
  16. {
  17. var tbuscar = new ValorAssinaturaAplicacao();
  18. var listar = tbuscar.ListarTodos();
  19.  
  20. var tbuscarNotificacao = new NotificacaoApliacao();
  21. var retorno = tbuscarNotificacao.ListarTodos();
  22.  
  23. if (retorno != null)
  24. {
  25. ViewData["QtdNotificacao"] = retorno.Count();
  26. // ViewData["ListaNotificacao"] = retorno;
  27. }
  28.  
  29. return View(listar);
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement