public IEnumerable <TaxRecordView> GetAll()
        {
            var all    = _repo.RetrieveAll();
            var mapped = all.Select(_mapper.TaxRecordToView);

            return(mapped);
        }
Beispiel #2
0
 public IEnumerable <TaxRecord> GetAll()
 {
     return(_repo.RetrieveAll());
 }