public List <EvaluationCoach> GetAllBySession(Guid idSession) { return(_context.EvaluationCoach.Where(EvaluationCoachSpecs.GetOneBySession(idSession)).ToList()); }
public List <EvaluationCoach> GetAllByCoach(Guid idCoach) { return(_context.EvaluationCoach.Where(EvaluationCoachSpecs.GetOneByCoach(idCoach)).ToList()); }
public EvaluationCoach GetOne(Guid id) { return(_context.EvaluationCoach.Where(EvaluationCoachSpecs.GetOne(id)).Include(x => x.Coach.User.Person).FirstOrDefault()); }