public async Task <IActionResult> GetAllPayments()
 {
     return(Ok(await paymentsService.GetAllPayments()));
 }