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