public ActionResult DetalheImagem(int imagemId) { Dribbble.Shots shot = new Dribbble.Shots(); Dribbble dribbble = new Dribbble(); shot = dribbble.GetById(imagemId); return Json(shot, JsonRequestBehavior.AllowGet); }
public ActionResult CarregaImagemPopular(int paginaId) { List<Dribbble> shot = new List<Dribbble>(); Dribbble dribbble = new Dribbble(); shot = dribbble.GetAll(paginaId); return Json(shot, JsonRequestBehavior.AllowGet); }