コード例 #1
0
ファイル: ImovelController.cs プロジェクト: leoseixas/LPC
 public ActionResult <IEnumerable <Imovel> > Get()
 {
     return(Ok(new{ obj = imovelRepository.Getall() }));
 }
コード例 #2
0
ファイル: ContaController.cs プロジェクト: leoseixas/LPC
        public IActionResult Imovel()
        {
            var imoveis = repositoryImovel.Getall();

            return(View());
        }
コード例 #3
0
 public IActionResult Create()
 {
     ViewBag.ImoveisConta = repositoryImovel.Getall();
     return(View());
 }