示例#1
0
        public IActionResult Create()
        {
            /*string word = "teste 12314124";
             * var livros  = _livroService.FindByWord(word);*/

            var list = _estoqueService.FindAll();

            var viewModel = new EstoqueLivrosViewModel {
                Estoque = list
            };

            return(View(viewModel));
        }
示例#2
0
        // GET: Clientes
        public IActionResult Index()
        {
            var list = _estoqueService.FindAll();

            return(View(list));
        }