public List <Bestilling> hentAlleBestillinger()
        {
            var BestillingDAL = new DAL.BestillingDAL();
            List <Bestilling> allebestillinger = BestillingDAL.hentAlleBestillinger();

            return(allebestillinger);
        }
 public bool slettBestilling(int slettId)
 {
     var BestillingDAL = new DAL.BestillingDAL();
     return BestillingDAL.slettBestilling(slettId);
 }
 public bool leggTilBestilling(int id)
 {
     var BestillingDAL = new DAL.BestillingDAL();
     return BestillingDAL.leggTilBestilling(id);
 }
 public Bestilling hentEnBestilling(int id)
 {
     var BestillingDAL = new DAL.BestillingDAL();
     return BestillingDAL.hentEnBestilling(id);
 }
 public List<Bestilling> hentAlleBestillinger()
 {
     var BestillingDAL = new DAL.BestillingDAL();
     List<Bestilling> allebestillinger = BestillingDAL.hentAlleBestillinger();
     return allebestillinger;
 }
 public bool endreBestilling(int id, Bestilling innBestilling)
 {
     var BestillingDAL = new DAL.BestillingDAL();
     return BestillingDAL.endreBestilling(id, innBestilling);
 }
        public Bestilling hentEnBestilling(int id)
        {
            var BestillingDAL = new DAL.BestillingDAL();

            return(BestillingDAL.hentEnBestilling(id));
        }
        public bool slettBestilling(int slettId)
        {
            var BestillingDAL = new DAL.BestillingDAL();

            return(BestillingDAL.slettBestilling(slettId));
        }
        public bool endreBestilling(int id, Bestilling innBestilling)
        {
            var BestillingDAL = new DAL.BestillingDAL();

            return(BestillingDAL.endreBestilling(id, innBestilling));
        }
        public bool leggTilBestilling(int id)
        {
            var BestillingDAL = new DAL.BestillingDAL();

            return(BestillingDAL.leggTilBestilling(id));
        }