public IQueryable <TrainingPlace> GetAllPlaces() { return(_ankarunningRepository.GetAll()); }
public IQueryable <Training> GetAllTrainings() { return(_ankarunningRepository.GetAll()); }
public TrainingPhoto GetPhotoWithForeignKey(long id) { return(_ankarunningRepository.GetAll().Where(e => e.TrainingId == id).FirstOrDefault()); }