using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using RazorViewData.Models;

namespace RazorViewData.Pages
{
    public class IndexModel : BasePageModel
    {
        public string Groet { get; set; }
        public string Intro { get; set; }
        private readonly ILogger<IndexModel> _logger;

        public IndexModel(ILogger<IndexModel> logger)
        {
            _logger = logger;
        }

        public void OnGet()
        {
            Titel = "ViewData Test";
            Groet = "Goede morgen allemaal";
            Intro = "Welkom op deze pagina";
        }
    }
}
