Exemplo n.º 1
0
        public List <Bestilling> hentAlleBestillinger()
        {
            var BestillingDAL = new BestillingDAL();
            List <Bestilling> allebestillinger = BestillingDAL.hentAlleBestillinger();

            return(allebestillinger);
        }
Exemplo n.º 2
0
        public Bestilling hentEnBestilling(int id)
        {
            var BestillingDAL = new BestillingDAL();

            return(BestillingDAL.hentEnBestilling(id));
        }
Exemplo n.º 3
0
        public bool slettBestilling(int slettId)
        {
            var BestillingDAL = new BestillingDAL();

            return(BestillingDAL.slettBestilling(slettId));
        }
Exemplo n.º 4
0
        public bool endreBestilling(int id, Bestilling innBestilling)
        {
            var BestillingDAL = new BestillingDAL();

            return(BestillingDAL.endreBestilling(id, innBestilling));
        }
Exemplo n.º 5
0
        public bool leggTilBestilling(Bestilling innBestilling)
        {
            var BestillingDAL = new BestillingDAL();

            return(BestillingDAL.leggTilBestilling(innBestilling));
        }
Exemplo n.º 6
0
 public BestillingBLL()
 {
     bestillingDAL = new BestillingDAL();
 }