Пример #1
0
 public IEnumerable <PhotoViewModel> Search(int page, string search, int?iso, double?exposure, double?aperture, double?focalLength)
 {
     return(PhotosMapper.MapRange(_photosService.Search(page, search, _getHomePageSize, iso, exposure, aperture, focalLength)));
 }
Пример #2
0
 public IEnumerable <PhotoViewModel> GetTags(int tagId, int page)
 {
     return(PhotosMapper.MapRange(_photosService.GetTags(tagId, page, _getAllPageSize)));
 }
Пример #3
0
 public IEnumerable <PhotoViewModel> GetBookmarks(int page)
 {
     return(PhotosMapper.MapRange(_photosService.GetBookmarks(page, _getAllPageSize)));
 }
Пример #4
0
 public IEnumerable <PhotoViewModel> GetForTag(string tagName)
 {
     return(PhotosMapper.MapRange(_photosService.GetForTag(tagName, _getForTagPageSize)));
 }
Пример #5
0
 public IEnumerable <PhotoViewModel> GetForUser(int page, string userName)
 {
     return(PhotosMapper.MapRange(_photosService.GetForUser(page, userName, _getForUserPageSize)));
 }
Пример #6
0
 public IEnumerable <PhotoViewModel> GetPhotosHome(int page)
 {
     return(PhotosMapper.MapRange(_photosService.GetPhotosHome(page, _getHomePageSize)));
 }