Exemplo n.º 1
0
        public async Task <IActionResult> Index()
        {
            var model = await _sal.GetAll();

            if (model != null)
            {
                return(View(model));
            }
            return(View());
        }