public void FillJC() { ExpenseRepository repo = new ExpenseRepository(); List <Dropdown> list = repo.FillJC(); ViewBag.JC = new SelectList(list, "Id", "Name"); }