예제 #1
0
 public IEnumerable <PhotoViewModel> GetForTag(string tagName)
 {
     return(_photosService.GetForTag(tagName, _getForTagPageSize).ToViewModels());
 }
예제 #2
0
 public IEnumerable <PhotoViewModel> GetForTag(string tagName)
 {
     return(PhotosMapper.MapRange(_photosService.GetForTag(tagName, _getForTagPageSize)));
 }