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