Exemple #1
0
 public async Task <List <ExpenseDto> > GetExpenses(DateTime dateFrom, DateTime dateTo)
 {
     return(await RestService.GetAsync <List <ExpenseDto> >(Constants.GetExpensesUri(dateFrom, dateTo)));
 }
Exemple #2
0
 private async Task SetUserDataAsync()
 {
     _userData = await RestService.GetAsync <UserDataDto>(Constants.GetUserUri);
 }
Exemple #3
0
 public async Task <List <IncomeDto> > GetIncomesAsync(DateTime from, DateTime to)
 {
     return(await RestService.GetAsync <List <IncomeDto> >(Constants.GetIncomesUri(from, to)));
 }
 public async Task <List <CategoryDto> > GetCategories(CategoryType type)
 {
     return(await RestService.GetAsync <List <CategoryDto> >(Constants.GetCategoriesUri(type)));
 }