public IActionResult Index()
        {
            //return Content("Default controller message!");
            //var model = new Restaurant { Id = 1, Name = "Restoran 1" };
            //return new ObjectResult(model);
            //return View();
            //var model = _restaurantData.GetAll();
            var model = new HomeIndexDTO();

            model.Restaurants    = _restaurantData.GetAll();
            model.DefaultMessage = _defaultResponse.GetDefaultResponse();
            return(View(model));
        }
 public void OnGet(string name)
 {
     CurrentDefaultResponse = $"{name} : {_defaultResponse.GetDefaultResponse()}";
 }