public IList <SalaryList> GetSalaries(string userId) { var salaries = _salaryRepository.GetList2(u => u.Currency, u => u.Country).Where(x => x.UserId == userId).ToList(); var mappedSalaries = salaries.Select(Mapper.Map <SalaryList>); return(mappedSalaries.ToList()); }