예제 #1
0
        // Code Alex
        public void MaakNieuweBestelling(Medewerker medewerker, int tafelnr)
        {
            Bestelling bestellingInfo = new Bestelling();

            bestellingInfo.CommentaarKlant = "";
            bestellingInfo.MedewerkerId    = medewerker.Id;
            bestellingInfo.Betaald         = "nee";
            bestellingInfo.Btw             = 0;
            bestellingInfo.TafelId         = tafelnr;
            bestellingInfo.Fooi            = 0;
            bestellingInfo.Totaalprijs     = 0;
            bestellingInfo.BetaalWijze     = "";

            bestellingDAO.PlaatsBestelling(bestellingInfo);
        }