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

            context.SaveChanges();
        }
 public Handler(AspNetNgStarterContext context, HttpClient client)
 {
     _context = context;
     _client  = client;
 }