Ejemplo n.º 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)));
 }
Ejemplo n.º 2
0
 public IEnumerable <PhotoViewModel> GetTags(int tagId, int page)
 {
     return(PhotosMapper.MapRange(_photosService.GetTags(tagId, page, _getAllPageSize)));
 }
Ejemplo n.º 3
0
 public IEnumerable <PhotoViewModel> GetBookmarks(int page)
 {
     return(PhotosMapper.MapRange(_photosService.GetBookmarks(page, _getAllPageSize)));
 }
Ejemplo n.º 4
0
 public IEnumerable <PhotoViewModel> GetForTag(string tagName)
 {
     return(PhotosMapper.MapRange(_photosService.GetForTag(tagName, _getForTagPageSize)));
 }
Ejemplo n.º 5
0
 public IEnumerable <PhotoViewModel> GetForUser(int page, string userName)
 {
     return(PhotosMapper.MapRange(_photosService.GetForUser(page, userName, _getForUserPageSize)));
 }
Ejemplo n.º 6
0
 public IEnumerable <PhotoViewModel> GetPhotosHome(int page)
 {
     return(PhotosMapper.MapRange(_photosService.GetPhotosHome(page, _getHomePageSize)));
 }