public JsonResult LoadPlaylistList()
        {
            var PlaylistList = PlaylistController.GetPlaylistIdByBrandIdAndStatus() as List <Models.PlaylistDetailVM>;

            return(Json(new
            {
                PlaylistList = PlaylistList,
            }, JsonRequestBehavior.AllowGet));
        }
 // GET: Scenario/Form/:id
 public ActionResult Form(int?id)
 {
     Models.ScenarioDetailVM model = null;
     if (id != null)
     {
         var scenario = this.scenarioService.GetById(id ?? -1);
         if (scenario != null)
         {
             model = new Models.ScenarioDetailVM
             {
                 ScenarioId  = scenario.ScenarioID,
                 LayoutId    = scenario.LayoutID,
                 IsPublic    = scenario.isPublic ?? true,
                 AudioArea   = scenario.AudioArea,
                 Title       = scenario.Title,
                 Description = scenario.Description,
             };
         }
     }
     ViewBag.playlistList = PlaylistController.GetPlaylistIdByBrandId();
     return(View(model));
 }