Beispiel #1
0
        private async Task GetBudget()
        {
            var budgets = await _budgetRepository.GetAllBudgets();

            _testBudget = budgets.FirstOrDefault();
        }
Beispiel #2
0
        public async Task <ViewResult> GetAllBudgets()
        {
            var data = await _budgetRepository.GetAllBudgets();

            return(View(data));
        }