Exemplo n.º 1
0
 // PUT: api/ServiceTicket/5
 public void Put(ServiceTicket ServiceTicket)
 {
     ServiceTicketRepository.Update(ServiceTicket);
 }
Exemplo n.º 2
0
 // POST: api/ServiceTicket
 public void Post(ServiceTicket ServiceTicket)
 {
     //ServiceTicket.Id = Guid.NewGuid();
     ServiceTicketRepository.Add(ServiceTicket);
 }