Пример #1
0
        public List <FrequencyDto> GetFrequencyList()
        {
            var frequencyEntityList = _frequencyRepository.GetAll();
            var frequencyList       = Mapper.Map <List <FrequencyDto> >(frequencyEntityList);

            return(frequencyList);
        }
Пример #2
0
        public ActionResponse <IQueryable <FrequencyDto> > GetAll(params Enums.Status[] statuses)
        {
            var response = _frequencyRepository.GetAll(statuses);

            return(response);
        }
Пример #3
0
 public IEnumerable <Frequency> Get()
 {
     return(_repository.GetAll());
 }