Exemplo n.º 1
0
 public async Task<IndividualTicketFormResponse> UpdateTicketFormAsync(TicketForm ticketForm)
 {
     return await GenericPutAsync<IndividualTicketFormResponse>(string.Format("{0}/{1}.json", _ticket_forms, ticketForm.Id), ticketForm);
 }
Exemplo n.º 2
0
 public IndividualTicketFormResponse UpdateTicketForm(TicketForm ticketForm)
 {
     var body = new  { ticket_form = ticketForm};
     return GenericPut<IndividualTicketFormResponse>(string.Format("{0}/{1}.json", _ticket_forms, ticketForm.Id), body);
 }
Exemplo n.º 3
0
 public async Task<IndividualTicketFormResponse> CreateTicketFormAsync(TicketForm ticketForm)
 {
     var body = new { ticket_form = ticketForm };
     return await GenericPostAsync<IndividualTicketFormResponse>(_ticket_forms + ".json", body);
 }
Exemplo n.º 4
0
 public IndividualTicketFormResponse CreateTicketForm(TicketForm ticketForm)
 {
     var body = new { ticket_form = ticketForm };
     return GenericPost<IndividualTicketFormResponse>(_ticket_forms + ".json", body);
 }