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

namespace MailSender.Controllers
{
    [RoutePrefix("def")]
    public class DefaultController : Controller
    {
        [HttpGet]
        public ActionResult Index()
        {
            //var model = JsonConvert.SerializeObject(new Models.MailModel() { Content = "DDD", EMailTo = "ddd@o2.pl", Subject = "LLLLLL" });
            //TempData.Add("mailModel", model);
            return RedirectToAction("Index", "Home");
        }
    }
}