/// <summary> /// Get all district /// </summary> /// <returns>A list of districts</returns> public IEnumerable <District> GetAllDistrict() { return(Districts.getAll().Select(d => new District(d)).ToList()); }
/// <summary> /// get a list of districts /// </summary> /// <returns>A list of district in the system</returns> public IEnumerable <District> getDistricts() { return(Districts.getAll().Select(c => new District(c)).ToList()); }