Exemplo n.º 1
0
        /// <inheritdoc/>
        public ICollection <VacancyDTO> GetAllForUser(string userName)
        {
            var user      = employeeManager.Get(e => e.User.Login == userName);
            var vacancies = vacancyManager.GetAllForEmployee(user.Id);

            return(mapper.Map <ICollection <VacancyDTO> >(vacancies));
        }