public function delete(Request $request)
    {
        $this->validate(request(), [//@todo create custom Request class for page validation
            'page_id' => 'required',
        ]);
        
        $status = $this->page->deleteById($request->get('page_id'));
        return $status;
    }
public function delete(Request $request)
    {
        $this->validate(request(), [//@todo create custom Request class for page validation
            'page_id' => 'required',
        ]);
        
        $status = $this->page->deleteById($request->get('page_id'));
        return $status;
    }
public function delete ( Request $ request ) { $ this -> validate ( request ( ) , [ //@todo create custom Request class for page validation 'page_id' => 'required' , ] ) ; $ status = $ this -> page -> deleteById ( $ request -> get ( 'page_id' ) ) ; return $ status ; }
Delete the page and pageblocks.

@return string $status
Delete the page and pageblocks .