private List<Education> GetEducations(User user)
{
var educations = new List<Education>();
if (user.Id <= 0) return educations;
var db = _educationRepository.Find(a => a.UserId == user.Id, true).ToList();
db.ForEach(a => educations.Add(EducationMapper.ToDto(a)));
return educations;
}
}