mirror of
https://github.com/guilhermewerner/gerencia-projetos
synced 2025-06-16 15:05:39 +00:00
Requisitos Controller
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user