using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using AutoMapper; using DR.FV2015.Service.Interfaces; using DR.WCMS.Web.UIBindings.Extensions; using DR.Web.UI.Model; using DRCMSRedesign.Contracts; using DR.FV2015.Web.Models; using DR.AcCommonUI.Helpers.LivePage; namespace DR.FV2015.Web.Controllers { public class LiveController : Controller { private readonly ILivePageService _livePageService; private readonly IArticleService _articleService; public LiveController(IArticleService articleService, ILivePageService livePageService) { _livePageService = livePageService; _articleService = articleService; } public ActionResult Index(ArticleWrapper articleWrapper) { var model = Mapper.Map(articleWrapper); return View(model); } } }