public IActionResult Index() { var vmo = new HomeVMO(); vmo.Sections = _serviceApartado.GetNum(); vmo.Sessions = _serviceSesion.GetNum(); vmo.Photos = _serviceFoto.GetNum(); return(View(vmo)); }
public int GetNumPhotos() { return(_serviceFoto.GetNum()); }