Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PrincipalController
public class PrincipalController : Controller
{
[Inject]
public IRepositorioGeneral RGeneral { get; set; }
...
public JsonResult CarregarVideosMaisRecentes()
{
return Json(RGeneral.RetornaQuatroVideosMaisRecentes(), JsonRequestBehavior.AllowGet);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment