Example #1
0
 public ActionResult <IEnumerable <Imovel> > Get()
 {
     return(Ok(new{ obj = imovelRepository.Getall() }));
 }
Example #2
0
        public IActionResult Imovel()
        {
            var imoveis = repositoryImovel.Getall();

            return(View());
        }
Example #3
0
 public IActionResult Create()
 {
     ViewBag.ImoveisConta = repositoryImovel.Getall();
     return(View());
 }