public function deleteProfileImage($req) { if ($this->user->user_level == 'Admin' || $this->user->employee == $req->id) { $fs = new FileService(); $res = $fs->deleteProfileImage($req->id); return new IceResponse(IceResponse::SUCCESS, $res); } }