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