public ActionResult Entregar() { var tm = new TarefasModelo(); return(View(tm.Where(t => t.DataTarefa == DateTime.Today))); }
// Edit public ActionResult Edit(int id) { var tm = new TarefasModelo(); return(View(tm.Where(t => t.Id == id).First())); }
public ActionResult Atrasadas() { var tm = new TarefasModelo(); return(View(tm.Where(t => t.DataTarefa < DateTime.Today))); }