Esempio n. 1
0
        public ActionResult ListAlleOrdre()
        {
            var Kundebll = new KundeBLL();

            /*var db = new DAL.Kundecontext();
             * List<DAL.Bestilling> Listeavprodukter = db.bestillingene.ToList();
             * ViewData.Model = Listeavprodukter;
             * //ViewData.Model = Kundebll.hentordre();*/
            ViewData.Model = Kundebll.hentordre();
            return(View());
        }