public static void Seed(PhotoBrowserContext context)
        {
            context.Tenants.AddOrUpdate(x => x.Name, new Tenant()
            {
                Name     = "Default",
                UniqueId = new Guid("489902a0-a39d-4556-94b4-544d33d5ff5b")
            });

            context.SaveChanges();
        }
        public static void Seed(PhotoBrowserContext context)
        {
            var tenant = context.Tenants.Single(x => x.Name == "Default");

            context.Users.AddOrUpdate(x => x.Username, new User()
            {
                Username = "******",
                Password = new EncryptionService().TransformPassword("system"),
                TenantId = tenant.Id
            });

            context.SaveChanges();
        }