public dynamic GetJson(string tags, bool cacheFlicker)
 {
     dynamic flickrRepository = null;
     if (cacheFlicker)
         flickrRepository = new FlickrCacheableRepository();
     else
         flickrRepository = new FlickrRepository();
     return Json(flickrRepository.GetImagesByTags(tags), JsonRequestBehavior.AllowGet);
 }
 public FlickrCacheableRepository()
 {
     _flickrRepository = new FlickrRepository();
 }
 public FlickrCacheableRepository()
 {
     flickrRepository = new FlickrRepository();
 }