public async Task <IActionResult> Index(int Id)
        {
            if (Id == 0)
            {
                Id = CashAccount_Id;
            }
            else
            {
                CashAccount_Id = Id;
            }

            var accessToken = await HttpContext.GetTokenAsync("access_token");

            var content = await _transferRepository.Get(
                "https://localhost:44382/Transfer/Get?id=" + Id.ToString(), accessToken);

            return(View(content));
        }
Ejemplo n.º 2
0
 public IEnumerable <TransferLog> Get()
 {
     return(_transferRepository.Get());
 }