private List <Material> GetMaterials()
        {
            var materials = new List <Material>();

            var material = new Material();

            material.Name        = "Presentation";
            material.ContentType = "image/jpeg";
            material.Content     = CommonInitializer.LoadFile("FakeImages\\usa-seattle.png");

            materials.Add(material);

            return(materials);
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="context"></param>
        public void Create(MyEventsContext context)
        {
            _startTime = new System.DateTime(2012, 11, 12, 9, 0, 0);

            var eventDefinition = new EventDefinition()
            {
                Name        = "Visual Studio 2012 Global Launch (Seattle & On-Line)",
                Description =
                    "Microsoft Visual Studio 2012 and the Microsoft .NET Framework 4.5 mark the next generation of developer tools from Microsoft. " +
                    "Designed to address the latest needs of developers, Visual Studio delivers key innovations to address emerging requirements around Application Lifecycle Management (ALM). With Visual Studio 2012 and the .NET Framework 4.5," +
                    "Microsoft delivers tooling and framework support for the latest innovations in application architecture, development, and deployment. The .NET Framework 4.5 contains numerous improvements that make it easier to develop powerful " +
                    "and compelling applications. Attend this webcast to learn how Visual Studio 2012 and the .NET Framework 4.5 provide developers with the tooling support and the platform support needed to create amazing solutions. We also explore the core capabilities of these new technologies.",
                Address        = "Bell Harbor Conference Center, 2211 Alaskan Way, Seattle, WA",
                City           = "Seattle",
                Tags           = "Visual Studio 2012",
                TwitterAccount = "@visualstudio",
                RoomNumber     = 3,
                Date           = _startTime.Date,
                StartTime      = _startTime,
                EndTime        = _startTime.AddHours(8).AddMinutes(30),
                TimeZoneOffset = 2,
                Logo           = CommonInitializer.LoadFile("FakeImages\\usa-seattle.png"),
                Latitude       = 47.6113f,
                Longitude      = -122.3489f,
                MapImage       = CommonInitializer.LoadFile("FakeImages\\map.png"),
                Sessions       = this.Sessions
            };

            //(CDLTLL) Assign the existing default organizer or add it
            var existsOrganizer = context.RegisteredUsers.Any(ru => ru.FacebookId == CommonInitializer.FakeUserFacebookId);

            if (existsOrganizer)
            {
                RegisteredUser existingOrganizer = context.RegisteredUsers.Single(ru => ru.FacebookId == CommonInitializer.FakeUserFacebookId);
                eventDefinition.OrganizerId = existingOrganizer.RegisteredUserId;
            }
            else
            {
                eventDefinition.Organizer = this.Organizer;
            }
            //

            eventDefinition.RoomPoints = CommonInitializer.GetRoomPoints(eventDefinition.RoomNumber);
            context.EventDefinitions.Add(eventDefinition);
            context.SaveChanges();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="context"></param>
        public void Create(MyEventsContext context)
        {
            _startTime = new System.DateTime(2012, 11, 21, 9, 0, 0);

            var eventDefinition = new EventDefinition()
            {
                Name        = "Visual Studio 2012 - Madrid Launch Event",
                Description =
                    "Discover how Visual Studio 2012 allows you to collaborate better and be more agile. See how it helps you turn big ideas into more compelling apps. Experience how it integrates best practices that accelerate development and deployment.  You’ll enjoy several sessions which will take Visual Studio, Team Foundation Server, and Test Professional through their paces to show off what’s possible with this incredible release!",
                Address        = "Paseo del Club Deportivo, 1, 28223 Pozuelo de Alarcón, Madrid, Spain",
                City           = "Madrid",
                Tags           = "Visual Studio 2012, .NET 4.5, Windows 8, Architecture",
                TwitterAccount = "@visualstudio",
                RoomNumber     = 2,
                Date           = _startTime.Date,
                StartTime      = _startTime,
                EndTime        = _startTime.AddHours(8).AddMinutes(30),
                TimeZoneOffset = 2,
                Logo           = CommonInitializer.LoadFile("FakeImages\\spain.png"),
                Latitude       = 40.4192f,
                Longitude      = -3.8029f,
                MapImage       = CommonInitializer.LoadFile("FakeImages\\map.png"),
                Sessions       = this.Sessions
            };

            //Assign the existing default organizer or add it
            var existsOrganizer = context.RegisteredUsers.Any(ru => ru.FacebookId == CommonInitializer.FakeUserFacebookId);

            if (existsOrganizer)
            {
                RegisteredUser existingOrganizer = context.RegisteredUsers.Single(ru => ru.FacebookId == CommonInitializer.FakeUserFacebookId);
                eventDefinition.OrganizerId = existingOrganizer.RegisteredUserId;
            }
            else
            {
                eventDefinition.Organizer = this.Organizer;
            }

            eventDefinition.RoomPoints = CommonInitializer.GetRoomPoints(eventDefinition.RoomNumber);
            context.EventDefinitions.Add(eventDefinition);
            context.SaveChanges();
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="context"></param>
        public void Create(MyEventsContext context)
        {
            _startTime = new System.DateTime(2012, 12, 15, 9, 0, 0);

            var eventDefinition = new EventDefinition()
            {
                Name        = "Visual Studio 2012 - San Francisco Launch Event",
                Description =
                    "Discover how Visual Studio 2012 allows you to collaborate better and be more agile. See how it helps you turn big ideas into more compelling apps. Experience how it integrates best practices that accelerate development and deployment.  You’ll enjoy several sessions which will take Visual Studio, Team Foundation Server, and Test Professional through their paces to show off what’s possible with this incredible release!",
                Address        = "835 Market Street, San Francisco, California, 94103, United States",
                City           = "San Francisco",
                Tags           = "Visual Studio 2012, .NET 4.5",
                TwitterAccount = "@visualstudio",
                RoomNumber     = 2,
                Date           = _startTime.Date,
                StartTime      = _startTime,
                EndTime        = _startTime.AddHours(8).AddMinutes(30),
                TimeZoneOffset = 2,
                Logo           = CommonInitializer.LoadFile("FakeImages\\usa-california.png"),
                Latitude       = 37.7849f,
                Longitude      = -122.4066f,
                MapImage       = CommonInitializer.LoadFile("FakeImages\\map.png"),
                Sessions       = this.Sessions
            };

            //Assign the existing default organizer or add it
            var existsOrganizer = context.RegisteredUsers.Any(ru => ru.FacebookId == CommonInitializer.FakeUserFacebookId);

            if (existsOrganizer)
            {
                RegisteredUser existingOrganizer = context.RegisteredUsers.Single(ru => ru.FacebookId == CommonInitializer.FakeUserFacebookId);
                eventDefinition.OrganizerId = existingOrganizer.RegisteredUserId;
            }
            else
            {
                eventDefinition.Organizer = this.Organizer;
            }

            eventDefinition.RoomPoints = CommonInitializer.GetRoomPoints(eventDefinition.RoomNumber);
            context.EventDefinitions.Add(eventDefinition);
            context.SaveChanges();
        }