// GET: /Proyecto/Details/5
        public ActionResult Details(int? id)
        {
            if (id == null)
            {
                return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
            }
            Project project = db.Projects.Find(id);
            //****************
            if (project == null)
            {
                return HttpNotFound();
            }

            ProfessorAssignViewModel proyectViewModel = new ProfessorAssignViewModel();
            proyectViewModel.ID = project.ID;
            proyectViewModel.Name = project.Name;

            var vStart = project.Start.ToString();
            proyectViewModel.Start = vStart;

            var vEnd = project.End.ToString();

            proyectViewModel.End = vEnd;

            return View(proyectViewModel);
        }
        // GET: /Comision/Details/5
        public ActionResult Details(int? id)
        {
            if (id == null)
            {
                return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
            }
            Commission commission = db.Commissions.Find(id);
            //****************
            if (commission == null)
            {
                return HttpNotFound();
            }

            ProfessorAssignViewModel commissionViewModel = new ProfessorAssignViewModel();
            commissionViewModel.ID = commission.ID;
            commissionViewModel.Name = commission.Name;

            var vStartHour = commission.Start.ToString("dd/MM/yyyy");
            commissionViewModel.Start = vStartHour;

            var vEndHour = commission.End.ToString("dd/MM/yyyy");

            commissionViewModel.End = vEndHour;

            return View(commissionViewModel);
        }