public DataTable DemandasPorUsuario(string cpf) { ViewDemandasPorUsuarioTableAdapter view = new ViewDemandasPorUsuarioTableAdapter(); try { return(view.GetData(cpf)); } catch (Exception) { throw; } finally { view.Connection.Close(); } }
public DataTable DemandasPorUsuario(string cpf) { ViewDemandasPorUsuarioTableAdapter view = new ViewDemandasPorUsuarioTableAdapter(); try { return view.GetData(cpf); } catch (Exception) { throw; } finally { view.Connection.Close(); } }