Example #1
0
        public void FillSupplier()
        {
            ExpenseRepository repo = new ExpenseRepository();
            List <Dropdown>   list = repo.FillSupplier();

            ViewBag.SupplierList = new SelectList(list, "Id", "Name");
        }