예제 #1
0
 public async Task <ActionResult <PagoDto> > GetById(int id)
 {
     if (_PagoService.Existencia(id) == true)
     {
         return(await _PagoService.GetById(id));
     }
     else
     {
         return(NotFound());
     }
 }