예제 #1
0
        public JsonResult ListarTopicoPesquisa(string pesquisa)
        {
            TopicoBLL     topicoBll = new TopicoBLL();
            List <Topico> topico    = new List <Topico>();

            topico = topicoBll.ListarTopico(pesquisa);
            return(Json(topico, JsonRequestBehavior.AllowGet));
        }
예제 #2
0
        public ActionResult ListarTopico()
        {
            TopicoBLL     topicoBll = new TopicoBLL();
            List <Topico> topico    = new List <Topico>();

            topico = topicoBll.ListarTopico();
            return(Json(topico, JsonRequestBehavior.AllowGet));
        }
예제 #3
0
        public IEnumerable <Topico> ListarTopico()
        {
            TopicoBLL topicoBll = new TopicoBLL();

            return(topicoBll.ListarTopico());
        }