public ActionResult Details(long id)
 {
     return(View(_paymentsService.Get(id)));
 }
Esempio n. 2
0
 public async Task <IEnumerable <PaymentModel> > Get([FromQuery] int page = 0, [FromQuery] int size = 100)
 {
     _logger.LogInformation($"Payment starting with User {User?.Identity.Name}");
     return(await _service.Get(User, page, size));
 }