예제 #1
0
        public async Task <ActionResult> InformationEdit(int ID)
        {
            Information model = await _informationService.GetInfomationDetail(ID);

            if (!string.IsNullOrWhiteSpace(model.ImgUrl))
            {
                model.ImgUrl  = ConfigurationManager.AppSettings["ServerUrl"] + model.ImgUrl.Replace(";", ";" + ConfigurationManager.AppSettings["ServerUrl"]);
                model.ImgUrls = model.ImgUrl.Split(';');
            }

            return(View(model));
        }