Clean up
This commit is contained in:
parent
0b1e85ecb7
commit
eb2ef5f2d8
2 changed files with 1 additions and 7 deletions
|
@ -12,7 +12,6 @@ namespace Idempotency.Controllers
|
|||
[Route("[controller]")]
|
||||
[Consumes("application/json")]
|
||||
[Produces("application/json")]
|
||||
[Idempotent]
|
||||
public class PaymentController : ControllerBase
|
||||
{
|
||||
|
||||
|
@ -35,6 +34,7 @@ namespace Idempotency.Controllers
|
|||
}
|
||||
|
||||
[HttpPost]
|
||||
[Idempotent]
|
||||
public IActionResult Post([FromBody] PaymentRequest request)
|
||||
{
|
||||
if (request is null)
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Idempotency
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue