public ActionResult BurnDown(long id = 0) { var context = new ContextImplement(); var controller = new Implem.Pleasanter.Controllers.ItemsController(); var htmlOrJson = controller.BurnDown(context: context, id: id); if (!Request.IsAjaxRequest()) { ViewBag.HtmlBody = htmlOrJson; return(View()); } else { return(Content(htmlOrJson)); } }