From 6f874ac5f704d50769f9d7553778ad26e0ae43e8 Mon Sep 17 00:00:00 2001 From: RameshPrajapati00 Date: Thu, 1 Oct 2020 15:39:59 +0530 Subject: [PATCH] Update TicketController.cs Added comment over post method and space after constructor --- Ticketing.Microservice/Controllers/TicketController.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Ticketing.Microservice/Controllers/TicketController.cs b/Ticketing.Microservice/Controllers/TicketController.cs index 3f4d68d..f8722e8 100644 --- a/Ticketing.Microservice/Controllers/TicketController.cs +++ b/Ticketing.Microservice/Controllers/TicketController.cs @@ -16,6 +16,8 @@ public TicketController(IBus bus) { _bus = bus; } + + // Below method will to create ticket [HttpPost] public async Task CreateTicket(Ticket ticket) { @@ -30,4 +32,4 @@ public async Task CreateTicket(Ticket ticket) return BadRequest(); } } -} \ No newline at end of file +}