Beispiel #1
0
 public IActionResult DeleteShow(string id)
 {
     if (string.IsNullOrEmpty(id))
     {
         return(NotFound());
     }
     AdministrationRepository.DeleteShowById(id);
     return(RedirectToAction("GetShows"));
 }