Example #1
0
        public ActionResult Delete(string id)
        {
            try
            {
                _wallRepository.Delete(id);

                return(RedirectToAction(nameof(Index)));
            }
            catch
            {
                return(View());
            }
        }