예제 #1
0
 // GET: TbVendas
 public async Task <IActionResult> Index()
 {
     return(View(await vendasRepository.GetVendas()));
 }
예제 #2
0
 public IEnumerable <Vendas> GetVendas()
 {
     return(_vendasRepository.GetVendas());
 }