Exemple #1
0
 //GET api/<controller>
 public Expense Get()
 {
     return(expenseRepo.Get());
 }
 // GET: Expenses
 public ActionResult Index()
 {
     return(View("Index", expenseRepo.Get()));
 }