public function deleteAction(Request $request, SubscriberList $list): View
    {
        $this->requireAuthentication($request);

        $this->subscriberListRepository->remove($list);

        return View::create();
    }
public function deleteAction(Request $request, SubscriberList $list): View
    {
        $this->requireAuthentication($request);

        $this->subscriberListRepository->remove($list);

        return View::create();
    }
public function deleteAction ( Request $ request , SubscriberList $ list ) : View { $ this -> requireAuthentication ( $ request ) ; $ this -> subscriberListRepository -> remove ( $ list ) ; return View :: create ( ) ; }
Deletes a subscriber list.

@param Request $request
@param SubscriberList $list

@return View
Deletes a subscriber list .