Exemplo n.º 1
0
 private void GetBudgetsWords()
 {
     this.BudgetsWithWords = budgetRepository.GetAll().Result.Where(w => w.BudgetWords.Any()).ToList();
 }
 // GET: Budgets
 public ActionResult Index()
 {
     return(View(_db.GetAll()));
 }
 public async Task <ActionResult <IEnumerable <Budget> > > Get()
 {
     return(await _repository.GetAll());
 }