示例#1
0
 public Task <TicketPriority> UpdateTicketPriorityAsync(int id, TicketPriority priority)
 {
     return(PutAsync <TicketPriority>($"/api/v1/ticket_priorities/{id}", priority));
 }
示例#2
0
 public Task <TicketPriority> CreateTicketPriorityAsync(TicketPriority priority)
 {
     return(PostAsync <TicketPriority>("/api/v1/ticket_priorities", priority));
 }