app/Http/Controllers/ClassesController.php
/**
	 * Remove/Delete the specified resource from storage.
	 *
	 * @param  int  $id
	 * @return Response
	 */
Remove/Delete the specified resource from storage.
@param  int  $id
@return Response
Remove / Delete the specified resource from storage . @param int $id @return Response
public function delete(Request $request)
	{
		$id = $request -> id;
		$classes = Classes::find($id);
		$classes = $classes -> delete();
		if($response)
			echo "Record Deleted successfully.";
		else
			echo "There was a problem. Please try again later.";
	}
public function delete ( Request $ request ) { $ id = $ request -> id ; $ classes = Classes :: find ( $ id ) ; $ classes = $ classes -> delete ( ) ; if ( $ response ) echo " Record Deleted successfully. " ; else echo " There was a problem. Please try again later. " ; }
Remove/Delete the specified resource from storage.
Remove / Delete the specified resource from storage .