コード例 #1
0
 public bool slettBestilling(int slettId)
 {
     var BestillingDAL = new BestillingDAL();
     return BestillingDAL.slettBestilling(slettId);
 }
コード例 #2
0
 public bool leggTilBestilling(Bestilling innBestilling)
 {
     var BestillingDAL = new BestillingDAL();
     return BestillingDAL.leggTilBestilling(innBestilling);
 }
コード例 #3
0
 public List<Bestilling> hentAlleBestillinger()
 {
     var BestillingDAL = new BestillingDAL();
     List<Bestilling> allebestillinger = BestillingDAL.hentAlleBestillinger();
     return allebestillinger;
 }
コード例 #4
0
 public Bestilling hentEnBestilling(int id)
 {
     var BestillingDAL = new BestillingDAL();
     return BestillingDAL.hentEnBestilling(id);
 }
コード例 #5
0
 public bool endreBestilling(int id, Bestilling innBestilling)
 {
     var BestillingDAL = new BestillingDAL();
     return BestillingDAL.endreBestilling(id, innBestilling);
 }