public DashboardInfoViewModel HentDashboardInfo() { var dashBoard = new DashboardInfoViewModel { TotaltSalg = _dbOrdre.HentTotaltSalg(), AntallKunder = _dbKunde.HentAlle(0).Count(), AntallFilmer = _dbFilm.HentAlle().Count() }; return(dashBoard); }
public List <KundeEndreViewModel> HentAlle(int MedRettighet) { return(_dbKunde.HentAlle(MedRettighet)); }
public List <Kunde> HentAlle() { return(dbkunde.HentAlle()); }