示例#1
0
        public List <FrequencyDto> GetFrequencyList()
        {
            var frequencyEntityList = _frequencyRepository.GetAll();
            var frequencyList       = Mapper.Map <List <FrequencyDto> >(frequencyEntityList);

            return(frequencyList);
        }
        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());
 }