public List <Avgang> HentalleAvganger() { var avgangDAL = new AvgangDAL(); List <Avgang> alleAvganger = avgangDAL.HentalleAvganger(); return(alleAvganger); }
public List <Avgang> hentavganginholder(int id) { var avgangDAL = new AvgangDAL(); List <Avgang> alleAvganger = avgangDAL.hentavganginholder(id); return(alleAvganger); }
public bool endreAvgang(int id, Avganger endreAvgang) { var avgangDAL = new AvgangDAL(); return(avgangDAL.endreAvgang(id, endreAvgang)); }
public bool slettAvgang(int id) { var avgangDAL = new AvgangDAL(); return(avgangDAL.slettAvgang(id)); }
public bool lagreAvgang(Avgang innAvgang) { var avgangDAL = new AvgangDAL(); return(avgangDAL.lagreAvgang(innAvgang)); }