You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't attempt a PR on this one as I don't know how you'd like to solve it. Do you want DiscardPayment and TimeoutPayment to be part of the route? Or are you looking for a more elegant solution where ASP.NET figures out which action to execute based on the request body?
When attempting to execute action
DiscardPayment
, this error message is returned:Both actions are decorated with the same
[HttpDelete("{id}")]
attribute and ASP.NET doesn't know which to choose.EventSourcing.NetCore/Sample/ECommerce/Payments/Payments.Api/Controllers/PaymentsController.cs
Lines 64 to 92 in ac84570
The text was updated successfully, but these errors were encountered: