public ActionResult Index() { //test EmployeeService employeeservice = new EmployeeService(); ViewBag.namelist = employeeservice.GetName(); ShipperService shipperservice = new ShipperService(); ViewBag.shipperlist = shipperservice.GetShipper(); return(View()); }
public ActionResult InserOrder() { EmployeeService employeeservice = new EmployeeService(); ViewBag.namelist = employeeservice.GetName(); ShipperService shipperservice = new ShipperService(); ViewBag.shipperlist = shipperservice.GetShipper(); CustomerService customerservice = new CustomerService(); ViewBag.Customerlist = customerservice.GetCustomer(); return(View()); }