public IActionResult GetPayment(int paymentId) { var payment = _repo.GetPayment(paymentId); if (payment == null) { return(NotFound()); } return(Ok(ModelsMapping.GetPaymentDto(payment))); }
public IActionResult GetPayment(int paymentId) { var payment = _repo.GetPayment(paymentId); if (payment == null) { return(NotFound()); } return(Ok(ModelsMapping.GetPaymentDto(payment))); }