﻿using System.Web.Mvc;
using IOweYou.Models.IouAccount;

namespace IOweYou.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            ViewBag.Message = "Modify this template to jump-start your ASP.NET MVC application.";

            return View();
        }

        public ActionResult About()
        {
            ViewBag.Message = "Your app description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }

        public ActionResult AddNewIouEntry()
        {
            IouEntry model = new IouEntry { IsNewRecord = true };

            return View(model);
        }
    }
}
