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