public IActionResult Create() { if (!Diverso.Acesso(HttpContext.Session.GetComplexData <Usuario>("UserData"), 3)) { return(RedirectToAction("DeniedAccess", "Login")); } ViewBag.ListaTipo = _tipoRepository.GetAllTipoDrop(3); return(View()); }