public async Task <List <ExpenseDto> > GetExpenses(DateTime dateFrom, DateTime dateTo) { return(await RestService.GetAsync <List <ExpenseDto> >(Constants.GetExpensesUri(dateFrom, dateTo))); }
private async Task SetUserDataAsync() { _userData = await RestService.GetAsync <UserDataDto>(Constants.GetUserUri); }
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))); }