示例#1
0
        public virtual async Task <ActionResult> Edit()
        {
            var model = await _settingService.GetSettingsForEdit();

            if (!string.IsNullOrWhiteSpace(model.ContactInfo))
            {
                model.ContactInfo = model.ContactInfo.Replace("<br/>", Environment.NewLine);
            }

            return(View(model));
        }