// GET: Tarefas/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Tarefa tarefa = _tarefaRepositorio.RetornarTarefa(id);

            if (tarefa == null)
            {
                return(HttpNotFound());
            }
            return(View(tarefa));
        }