public IEnumerable <Expense> GetAll() { return(_repo.GetAllExpenses()); }
public IActionResult GetAll() { var expenses = _ExpensesRepo.GetAllExpenses(); return(Ok(expenses)); }