public function destroy($id)
 {
     $tipo = TipoDocumento::findOrFail($id);
     $tipo->delete();
     return $tipo;
 }