Beispiel #1
0
        public IActionResult Index()
        {
            var vmo = new HomeVMO();

            vmo.Sections = _serviceApartado.GetNum();
            vmo.Sessions = _serviceSesion.GetNum();
            vmo.Photos   = _serviceFoto.GetNum();

            return(View(vmo));
        }
Beispiel #2
0
 public int GetNumPhotos()
 {
     return(_serviceFoto.GetNum());
 }