public LocationInformationList getAvailableLocationsForUser(string username) { List <DatabaseLocation> dbAddressList = _dbQueryService.GetLocationsForUser(username); return(new LocationInformationList(dbAddressList)); }
public LocationInformationList GetAvailableLocationsForUser(int userId) { List <DatabaseLocation> dbAddressList = _dbQueryService.GetLocationsForUser(userId); return(new LocationInformationList(dbAddressList)); }