public JsonResult EditSection(EditSectionViewModel model)
        {
            try
            {
                if ("colour".Equals(model.BackgroundType, StringComparison.OrdinalIgnoreCase))
                {
                    _sectionService.EditBackgroundType(model.SectionId, false);

                    if (!string.IsNullOrWhiteSpace(model.BackgroundColour))
                    {
                        _sectionService.EditBackgroundColour(model.SectionId, model.BackgroundColour);
                    }
                }
                else
                {
                    _sectionService.EditBackgroundType(model.SectionId, true);

                    if (model.BackgroundImageId > 0)
                    {
                        _sectionService.EditBackgroundImage(model.SectionId, model.BackgroundImageId);
                    }

                    _sectionService.EditBackgroundStyle(model.SectionId, model.PageSectionBackgroundStyle);
                }

                _sectionService.EditHeight(model.SectionId, model.PageSectionHeight);
                _associationService.EditRoles(model.PageAssociationId, model.SelectedRoleList);

                return(Json(new { State = true, SectionMarkup = _sectionService.Get(model.SectionId).PageSectionBody }));
            }
            catch (Exception)
            {
                return(Json(new { State = false }));
            }
        }