예제 #1
0
        public async Task <IEnumerable <OverPricedCategory> > GetAccountTopTransactions(int accountId, int month)
        {
            var api    = $"{accountId}/{Endpoints.Accounts.AccountTopTransactions}/{month}";
            var result = await restClient.Get <IEnumerable <OverPricedCategory> >(api);

            return(result);
        }
예제 #2
0
        public async Task <IEnumerable <Category> > GetCategories()
        {
            var api    = Endpoints.Category.CATEGORY;
            var result = await restClient.Get <IEnumerable <Category> >(api);

            return(result);
        }
예제 #3
0
        public async Task <IEnumerable <CurrencyModel> > GetCurrencies()
        {
            var api    = Endpoints.Currency.CURRENCY;
            var result = await restClient.Get <IEnumerable <CurrencyModel> >(api);

            return(result);
        }
예제 #4
0
        public async Task <IEnumerable <NotificationModel> > GetNotifications()
        {
            var api    = $"{Endpoints.Notifications.Notification}";
            var result = await restClient.Get <IEnumerable <NotificationModel> >(api);

            return(result);
        }
예제 #5
0
 public async Task <IEnumerable <TransactionModel> > GetAll()
 => await restClient.Get <IEnumerable <TransactionModel> >(Endpoints.Transaction.TRANSACTION);
예제 #6
0
        public async Task <AccountEvolutionModel> GetAccountEvolution(int accountId)
        {
            var result = await restClient.Get <AccountEvolutionModel>($"{Endpoints.Accounts.ACCOUNT}{accountId}/{Endpoints.Accounts.AccountEvolution}");

            return(result);
        }