예제 #1
0
 public IList <Profile> GetProfilesByTime(int pageNo, DateTime dateTime, out int total, int pageSize = 128)
 {
     return(_profileRepository.Query(p => p.ModifiedDate > dateTime, pageNo, pageSize, out total, p => p.ModifiedDate, false, p => p.CountriesToVisit, p => p.LanguagesSpoken, p => p.Searches, p => p.User, p => p.Photos));
 }
예제 #2
0
 public List <string> CheckProfilePhotos()
 {
     return((from profile in _profileRepository.Query(p => p.ProfilePhotoGuid != Guid.Empty, null, false).ToList() select _photoRepository.GetByGuid(profile.ProfilePhotoGuid) into photo from suffix in PhotoTypes.Versions.Keys where _photoBackupService.GeneratePhoto(photo.Guid, (PhotoType)suffix) select "CREATED\t" + photo.Guid).ToList());
 }