Acho q acabou

This commit is contained in:
GuiNerd
2019-11-30 15:10:33 -03:00
parent cc389221db
commit b98436187f
39 changed files with 924 additions and 1395 deletions

View File

@ -40,7 +40,7 @@ namespace GerenciaProjetos.Controllers
ctx.Desenvolvedores.Add(dev);
ctx.SaveChanges();
return RedirectToAction("Index", "Home");
return RedirectToAction("Index", "Dashboard");
}
else
{
@ -60,7 +60,7 @@ namespace GerenciaProjetos.Controllers
}
else
{
return RedirectToAction("Index", "Home");
return RedirectToAction("Index", "Dashboard");
}
}
@ -73,7 +73,7 @@ namespace GerenciaProjetos.Controllers
ctx.Desenvolvedores.Update(dev);
ctx.SaveChanges();
return RedirectToAction("Index", "Home");
return RedirectToAction("Index", "Dashboard");
}
else
{
@ -91,7 +91,7 @@ namespace GerenciaProjetos.Controllers
ctx.SaveChanges();
}
return RedirectToAction("Index", "Home");
return RedirectToAction("Index", "Dashboard");
}
}
}