Ejemplo n.º 1
0
        public void FillEmployee()
        {
            var repo = new DropdownRepository();
            var list = repo.EmployeeDropdown();

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