BgEngine.Controllers.StatsController.SaveOptions C# (CSharp) Method

SaveOptions() private method

private SaveOptions ( ConfigOptionsModel model ) : System.Web.Mvc.ActionResult
model BgEngine.Web.ViewModels.ConfigOptionsModel
return System.Web.Mvc.ActionResult
        public ActionResult SaveOptions(ConfigOptionsModel model)
        {
            if (ModelState.IsValid)
            {
                BlogResourceServices.UpdateConfigOptions(Mapper.Map<ConfigOptionsModel, ConfigOptionsDTO>(model));
                return PartialView("AjaxSuccess", Resources.AppMessages.Config_OptionsUpdated);
            }
            return PartialView("AjaxError", Resources.AppMessages.Config_OptionsError);
        }