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

namespace WizardPartialExample.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            ViewBag.Message = "Welcome to ASP.NET MVC!";

            return View();
        }
        public ActionResult Ind()
        {
            ViewBag.Message = "Welcome to ASP.NET MVC!";

            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 _BusinessProfile(WizardPartialExample.Models.WizardComplexModel viewModel)
        {
            return PartialView("_BusinessProfile", viewModel);
        }
        public ActionResult _BusinessFinancial(WizardPartialExample.Models.WizardComplexModel viewModel)
        {
            return PartialView("_BusinessFinancial", viewModel);
        }
    }
}
