Beispiel #1
0
        public IActionResult Remove(int?id)
        {
            if (id == null)
            {
                return(RedirectToAction("Index"));
            }

            _campusService.Remove(id);
            return(RedirectToAction("Index"));
        }
Beispiel #2
0
 public async Task Delete(int id)
 {
     await _campusService.Remove(id);
 }