//Method to get traffic violation types public static TrafficViolationTypes.TrafficViolationTypeEnum trafficViolationTypes() { TrafficViolationTypes trafficViolationTypes = new TrafficViolationTypes(trafficViolationTypesList.ToArray()); return(trafficViolationTypes.GetEnumerator()); }
//Method to get most frecuent traffic violations public static TrafficViolationTypes.TrafficViolationTypeEnum topTrafficViolations() { TrafficViolationTypes topTrafficViolations = new TrafficViolationTypes(trafficViolationTypesList); return(topTrafficViolations.GetEnumerator()); }