public Session GetOne(Guid id) { return(_context.Session.Include(x => x.User.Person).Include(x => x.EvaluationCoach.Select(y => y.Coach.User.Person)).Include(x => x.EvaluationCoachee.Select(y => y.Coachee.User.Person)).Include(x => x.Job).Where(SessionSpecs.GetOne(id)).FirstOrDefault()); }
public List <Session> GetAllByClassification(ESessionClassification classification) { return(_context.Session.Where(SessionSpecs.GetAllByTypeSession(classification)).ToList()); }
public List <Session> GetAllByCoachingProcess(Guid idCoachingProcess) { return(_context.Session.Where(SessionSpecs.GetAllByCoachingProcess(idCoachingProcess)).ToList()); }