Example #1
0
        public IEnumerable <Language> GetAllLanguages()
        {
            _queryBuilder.AddSelect(@"*");
            _queryBuilder.SetFrom("reg_talen");

            string query = _queryBuilder.BuildQuery();

            var languages = _optionRepository.GetAllLanguages(query);

            return(_mapper.Map <IEnumerable <Language> >(languages));
        }