예제 #1
0
        public List <Avgang> HentalleAvganger()
        {
            var           avgangDAL    = new AvgangDAL();
            List <Avgang> alleAvganger = avgangDAL.HentalleAvganger();

            return(alleAvganger);
        }
예제 #2
0
        public List <Avgang> hentavganginholder(int id)
        {
            var           avgangDAL    = new AvgangDAL();
            List <Avgang> alleAvganger = avgangDAL.hentavganginholder(id);

            return(alleAvganger);
        }
예제 #3
0
        public bool endreAvgang(int id, Avganger endreAvgang)
        {
            var avgangDAL = new AvgangDAL();

            return(avgangDAL.endreAvgang(id, endreAvgang));
        }
예제 #4
0
        public bool slettAvgang(int id)
        {
            var avgangDAL = new AvgangDAL();

            return(avgangDAL.slettAvgang(id));
        }
예제 #5
0
        public bool lagreAvgang(Avgang innAvgang)
        {
            var avgangDAL = new AvgangDAL();

            return(avgangDAL.lagreAvgang(innAvgang));
        }