public async Task <DtoTblTicket> SelectTicketByTellNo(string tellNo) { HttpResponseMessage httpResponseMessage = await _httpClient.PostAsJsonAsync($"api/TicketCore/SelectTicketByTellNo?tellNo={tellNo}", tellNo); DtoTblTicket ans = await httpResponseMessage.Content.ReadAsAsync <DtoTblTicket>(); return(ans); }
public async Task <DtoTblTicket> SelectTicketByEmail(string email) { HttpResponseMessage httpResponseMessage = await _httpClient.PostAsJsonAsync($"api/TicketCore/SelectTicketByEmail?email={email}", email); DtoTblTicket ans = await httpResponseMessage.Content.ReadAsAsync <DtoTblTicket>(); return(ans); }