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

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