Esempio n. 1
0
        public IActionResult GetAllPayments()
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            return(Ok(_paymentAppService.GetAllPayments()));
        }