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