コード例 #1
0
 public IEnumerable <PhotoViewModel> GetForUser(int page, string userName)
 {
     return(_photosService.GetForUser(page, userName, _getForUserPageSize).ToViewModels());
 }
コード例 #2
0
 public IEnumerable <PhotoViewModel> GetForUser(int page, string userName)
 {
     return(PhotosMapper.MapRange(_photosService.GetForUser(page, userName, _getForUserPageSize)));
 }