using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using r20.Models;

namespace r20.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        public ActionResult Index()
        {
            List<Summit> list = new List<Summit>();
            list.Add(new Summit("Everest", 8848));
            list.Add(new Summit("Aconcagua", 6962));
            list.Add(new Summit("McKinley", 6194));
            list.Add(new Summit("Kilimandżaro", 5895));
            list.Add(new Summit("K2", 8611));
            return View(list);
        }

    }
}
