Beispiel #1
0
        /// <summary>
        /// Returns educations information for a user asyncronously
        /// </summary>
        /// <param name="personId">The person id to lookup</param>
        /// <returns>Educations information for person</returns>
        public async Task <IList <EducationEmploymentDTO> > GetEducationsByPersonIdAsync(int personId)
        {
            var educations = await PersonQueries.CreateGetEducationsByPersonIdQuery(this.Context, personId).ToListAsync();

            this.logger.Trace("Retrieved educations for person info by id {0}.", personId);
            return(educations);
        }