Example #1
0
        public List <Ordrelinje> getOrdrelinjer(int kundeID)
        {
            var BestillingsDAL = new BestillingsDAL();
            List <Ordrelinje> allOrdrelinjer = BestillingsDAL.getOrdrelinjer(kundeID);

            return(allOrdrelinjer);
        }
Example #2
0
        public List <Bestilling> getAll()
        {
            var BestillingsDAL = new BestillingsDAL();
            List <Bestilling> allBestillinger = BestillingsDAL.getAll();

            return(allBestillinger);
        }
Example #3
0
        public Bestilling getSingleBestilling(int id)
        {
            var BestillingsDAL = new BestillingsDAL();

            return(BestillingsDAL.getSingleBestilling(id));
        }
Example #4
0
        public bool insertBestilling(Handlevogn hv)
        {
            var BestillingsDAL = new BestillingsDAL();

            return(BestillingsDAL.insertBestilling(hv));
        }