Exemple #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);
        }
Exemple #2
0
        public async Task <IEnumerable <Category> > GetCategories()
        {
            var api    = Endpoints.Category.CATEGORY;
            var result = await restClient.Get <IEnumerable <Category> >(api);

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

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

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

            return(result);
        }