public List <AvgAmount> GetWeeksListByCountry(long id) { FilterByCountry fbc = new FilterByCountry(id); List <AvgAmount> lst = (List <AvgAmount>)GetFiltered(fbc.FileterByCountry); return(lst); }
public AvgAmount GetWeeksByCountryAndYear(long id, short year) { FilterByCountry fbc = new FilterByCountry(id, year); List <AvgAmount> lst = (List <AvgAmount>)GetFiltered(fbc.FileterByCountryAndYear); return((lst.Count > 0)?lst[0]:null); }
public List <Colouring> GetColorListByCountry(long id) { FilterByCountry fbc = new FilterByCountry(id); return((List <Colouring>)GetFiltered(fbc.FileterByCountry)); }