public IActionResult Put([FromBody] Ticket ticket)
 {
     if (ticket == null)
     {
         return(BadRequest());
     }
     _repo.Edit(ticket);
     return(Ok());
 }