public IActionResult Delete(int id)
        {
            magazineService.Delete(id);

            return(Ok(id));
        }
 public ActionResult Delete(int id)
 {
     _magazineService.Delete(id);
     return(RedirectToAction("Index"));
 }