public IActionResult PaymentAllocation([FromBody] PaymentAllocationInputModel model) { if (!ModelState.IsValid) { return(BadRequest()); } return(Ok(_paymentAppService.PaymentAllocation(model).Result)); }