Пример #1
0
 // GET: Order
 public ActionResult Index()
 {
     return(View(db.ToList()));
 }
Пример #2
0
 // 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);
        }