Example #1
0
 public void Delete(int levelId)
 {
     _levelRepository.DeleteLevel(levelId);
 }
Example #2
0
        public IActionResult Delete(int id)
        {
            levelRepository.DeleteLevel(id);

            return(RedirectToAction("index"));
        }