public ActionResult Create(List <Attendee> attendees)
        {
            IRegistrationManager regManager = UnityCache.ResolveDefault <IRegistrationManager>();
            UserContext          uc         = new UserContext();

            uc.AuditUserName = "******";

            uc.ConnectionString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
            var reg = regManager.ProcessRegistration(uc, attendees);

            return(View());
        }
        public ActionResult Create(Attendee attendee)
        {
            List <Attendee> attendees = new List <Attendee>();

            attendees.Add(attendee);
            IRegistrationManager regManager = UnityCache.ResolveDefault <IRegistrationManager>();
            UserContext          uc         = new UserContext();

            uc.ConnectionString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
            regManager.ProcessRegistration(uc, attendees);
            return(View());
        }