Пример #1
0
        public IEnumerable <SalaryViewModel> GetAllWithEmployees()
        {
            List <Salary> domainModels = _salaryRepository.GetAllWithEmployees().ToList();

            return(domainModels.Select(Mapper.Map <SalaryViewModel>).ToList());
        }