public IActionResult Delete(int id) { Settings setting = _aboutUsRepository.GetSettingById(id); if (setting == null) { return(NotFound()); } _aboutUsRepository.DeleteFag(setting); return(RedirectToAction("index")); }
public IActionResult Delete(int id) { Settings setting = _aboutUsRepository.GetSettingById(id); if (setting == null) { return(NotFound()); } _aboutUsRepository.DeleteFag(setting); return(RedirectToAction("index")); }