public IList<IArea> GetAreasOfAreaType(string area_codes) { try { var codes = new StringListParser(area_codes).StringList; var areaListBuilder = new AreaListProvider(ReaderFactory.GetAreasReader()); areaListBuilder.CreateAreaListFromAreaCodes(codes); return areaListBuilder.Areas; } catch (Exception ex) { Log(ex); throw; } }
private static IList<string> ParseList(string ins) { var list = new StringListParser(ins).StringList; return list; }