public Speciality GetOneByCoach(Guid idCoach) { return(_context.Speciality.Where(SpecialitySpecs.GetOneByCoach(idCoach)).FirstOrDefault()); }
public List <Speciality> GetAllByCoach(Guid idCoach) { return(_context.Speciality.Where(SpecialitySpecs.GetOneByCoach(idCoach)).ToList()); }
public Speciality GetOne(Guid id) { return(_context.Speciality.Where(SpecialitySpecs.GetOne(id)).FirstOrDefault()); }