Пример #1
0
        public IActionResult Delete(int id)
        {
            Settings setting = _aboutUsRepository.GetSettingById(id);

            if (setting == null)
            {
                return(NotFound());
            }
            _aboutUsRepository.DeleteFag(setting);
            return(RedirectToAction("index"));
        }