public IActionResult AddTicket(Ticket newTicket) { _ticketData.AddTicket(newTicket); return(Ok()); }
public ActionResult Post([FromBody] TicketDTO ticketDTO) { ticketDTO = _ticketData.AddTicket(ticketDTO); return(Ok(ticketDTO)); }
public IActionResult AddTicket(Ticket newTicket) { _ticketData.AddTicket(newTicket); return(Ok()); }
public ActionResult Post([FromBody] TicketDTO ticketDTO) { ticketDTO = _ticketData.AddTicket(ticketDTO); return(Ok(ticketDTO)); }