Exemplo n.º 1
0
        public void FillSupplier()
        {
            DropdownRepository repo = new DropdownRepository();
            var result = repo.SupplyOrderSupplierDropdown();

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