//GET: Create public ActionResult Create() { ViewBag.OutletId = _orderBll.GetOutlet(); ViewBag.EmployeeId = _orderBll.GetEmployee(); //TO DO: change to get the currently logged in Employee ViewBag.ItemId = _orderBll.GetItem(); ViewBag.Supplier = _orderBll.Supplier(); ViewBag.OrderCode = _orderBll.GenerateAutoCode(); return View(); }