public ActionResult GestorLicenca() { var dao = new SolicitacaoLicencaDAO(); IList <SolicitacaoLicenca> solicitacaoLicenca = dao.Lista(); ViewBag.SolicitacaoLicenca = solicitacaoLicenca.Where(r => r.Status == Status.AguardandoAprovacaodoGestor); return(View()); }
// GET: SolicitacaoLicenca public ActionResult Index() { var dao = new SolicitacaoLicencaDAO(); IList <SolicitacaoLicenca> solicitacaoLicenca = dao.Lista(); ViewBag.SolicitacaoLicenca = solicitacaoLicenca; return(View()); }
public ActionResult Justificacao(int id) { var dao = new SolicitacaoLicencaDAO(); IList <SolicitacaoLicenca> solicitacaoLicenca = dao.Lista(); ViewBag.SolicitacaoLicenca = solicitacaoLicenca.Where(r => r.Id == id); return(View()); }