Exemple #1
0
        public IActionResult Edit(string id, Contato contato)
        {
            var linkedList = _linkedListService.Find(id);

            if (linkedList == null)
            {
                return(NotFound());
            }

            _linkedListService.Edit(id, contato);

            return(RedirectToAction("Index"));
        }