Ejemplo n.º 1
0
        public IActionResult EditSocialData(int id)
        {
            AppSocialAddress data = _appRepository.GetInfo(id);

            AppDataUpdateViewModel item = new AppDataUpdateViewModel
            {
                Id         = data.Id,
                UrlAddress = data.UrlAddress,
                ExistingSocialImagePath = data.AppSocialImg
            };

            TempData["message"] = $"Object {item.UrlAddress} was selected.";
            return(View(item));
        }