Exemplo n.º 1
0
        public ActionResult NewClassesPanel()
        {
            var classRepository = new ClassRepository(_context);

            return(PartialView("_NewClassesPanel",
                               ClassViewModel.FromEntityList(classRepository.ListLastDeliveredClasses(_loggedUser.Id),
                                                             new DefaultDateTimeHumanizeStrategy())));
        }