// GET: Order public ActionResult Index() { return(View(db.ToList())); }
// GET: Reason/Create public ActionResult Create() { ViewBag.OrderID = new SelectList(of.ToList(), "OrderID", "Description"); return(View()); }
// GET: api/OrderApi public List <OrderEntity> GetOrderEntities() { List <OrderEntity> listtemp = db.ToList(); return(listtemp); }