/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { $record = RecepcionPlanificada::find($id)->delete(); return new AjaxResponse('success', ''); }