Exemple #1
0
 public IEnumerable <VendaDTO> GetAll()
 {
     return(mapper.Map <IEnumerable <VendaDTO> >(service.GetAll()));
 }
Exemple #2
0
 public async Task <IActionResult> Get()
 {
     return(Ok(_serviceVenda.GetAll().ToList()));
 }