public ApiResponse <List <InvoiceDto> > UserInvoiceList(string token, SerachtUserIdInvoiceDto model) { string response = GetResponse(_settings.BaseUrl + "Invoice/GetUserIdInvoce", HttpMethod.Get, model, token); var result = JsonConvert.DeserializeObject <ApiResponse <List <InvoiceDto> > >(response); return(result); }
public IActionResult UserInvoiceListPaymentStatus(SerachtUserIdInvoiceDto model) { var resultInvoice = _buybackGateway.UserInvoiceListPaymentStatus(UserData.Token, model); return(View("UserInvoiceList", resultInvoice.Result)); }