Пример #1
0
        public IActionResult Bevestiging(VMbestelling vMbestelling)
        {
            int klantnr = Convert.ToInt32(HttpContext.Session.GetString("user"));

            vMbestelling.klant      = PC.loadKlant(klantnr);
            vMbestelling.Bestelling = PC.MaakBestelling(klantnr);
            double TotaalInclu = Convert.ToDouble(HttpContext.Session.GetString("TotaalInclu"));

            ViewBag.TotaalInclu = TotaalInclu;
            vMbestelling.Verzend(TotaalInclu);


            return(View(vMbestelling));
        }
Пример #2
0
 public IActionResult Winkelmandje(VMbestelling vMbestelling)
 {
     return(RedirectToAction("Bevestiging"));
 }