Exemple #1
0
        public List <Models.KundeBLL> hentAlle()
        {
            var KundeDAL = new dbKundeDAL();
            List <Models.KundeBLL> alleKunder = KundeDAL.hentAlle();

            return(alleKunder);
        }
Exemple #2
0
        public KundeBLL hentEnKunde(int id)
        {
            var KundeDAL = new dbKundeDAL();

            return(KundeDAL.hentEnKunde(id));
        }
Exemple #3
0
        public bool slettKunde(int slettId)
        {
            var KundeDAL = new dbKundeDAL();

            return(KundeDAL.slettKunde(slettId));
        }
Exemple #4
0
        public bool endreKunde(int id, Models.KundeBLL innKunde)
        {
            var KundeDAL = new dbKundeDAL();

            return(KundeDAL.endreKunde(id, innKunde));
        }
Exemple #5
0
        public bool leggTilKunde(Models.KundeBLL innKunde)
        {
            var KundeDAL = new dbKundeDAL();

            return(KundeDAL.leggTilKunde(innKunde));
        }