Exemplo n.º 1
0
        public ActionResult Details(Guid id)
        {
            ServiceTemplate service = new ServiceTemplate();
            var             info    = service.GetbyActivity(id);
            var             model   = new ActivityModels().ToModel(info);

            ViewBag.ActivityByid = service.GetListActivityByid(id);
            ViewBag.Baomingmen   = service.GetRegistrationCount(id);
            return(View(model));
        }