Requisitos Controller

This commit is contained in:
GuiNerd
2019-09-22 08:30:34 -03:00
parent 0fbde86dcc
commit 07230df64b
38 changed files with 1205 additions and 353 deletions

View File

@ -16,14 +16,13 @@ namespace GerenciaProjetos.Controllers
public HomeController(GerenciaContext ctx)
{
this.ctx = ctx;
Desenvolvedor dev = ctx.Desenvolvedores.Find(1);
}
public IActionResult Index()
{
ViewBag.Desenvolvedores = ctx.Desenvolvedores;
ViewBag.Projetos = ctx.Projetos;
ViewBag.Requisitos = ctx.Requisitos;
return View();
}