Пример #1
0
        public List <AvgAmount> GetWeeksListByCountry(long id)
        {
            FilterByCountry fbc = new FilterByCountry(id);

            List <AvgAmount> lst = (List <AvgAmount>)GetFiltered(fbc.FileterByCountry);

            return(lst);
        }
Пример #2
0
        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);
        }
Пример #3
0
        public List <Colouring> GetColorListByCountry(long id)
        {
            FilterByCountry fbc = new FilterByCountry(id);

            return((List <Colouring>)GetFiltered(fbc.FileterByCountry));
        }