Пример #1
0
        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);
        }
Пример #2
0
        public IActionResult UserInvoiceListPaymentStatus(SerachtUserIdInvoiceDto model)
        {
            var resultInvoice = _buybackGateway.UserInvoiceListPaymentStatus(UserData.Token, model);

            return(View("UserInvoiceList", resultInvoice.Result));
        }