public virtual ActionResult Submit(StyleDescriptionViewModel model)
        {
            LogI("Submit, model=" + model);

            //Save
            if (ModelState.IsValid)
            {
                model.Apply(Db,
                            Time.GetAppNowTime(),
                            AccessManager.UserId);

                var outputModel = StyleDescriptionViewModel.GetAll(Db, new StyleSearchFilterViewModel()
                {
                    StyleId = model.Id
                }).FirstOrDefault();

                return(Json(new UpdateRowViewModel(outputModel,
                                                   "Styles",
                                                   new[]
                {
                    "Description",
                    "ShortDescription",
                    "SearchTerms",
                    "BulletPoint1",
                    "BulletPoint2",
                    "BulletPoint3",
                    "BulletPoint4",
                    "BulletPoint5",
                },
                                                   false)));
            }
            return(View(PopupContentView, model));
        }
        public virtual ActionResult SetDescription(long fromStyleId, long toStyleId)
        {
            LogI("SetDescription, toStyleId=" + toStyleId + ", fromStyleId=" + fromStyleId);
            var model = new StyleDescriptionViewModel(Db, fromStyleId); //NOTE: get all fields from Db include LongDescriptions

            model.Id = toStyleId;

            model.Apply(Db,
                        Time.GetAppNowTime(),
                        AccessManager.UserId);

            var outputModel = StyleDescriptionViewModel.GetAll(Db, new StyleSearchFilterViewModel()
            {
                StyleId = model.Id
            }).FirstOrDefault();

            return(Json(CallResult <StyleDescriptionViewModel> .Success(outputModel)));
        }