Created queries in Legislator model