Пример #1
0
 public OrderIndexOnGet(CustomWebRazorPagesApplicationFactory <Startup> factory)
 {
     Client = factory.CreateClient(new WebApplicationFactoryClientOptions
     {
         AllowAutoRedirect = false
     });
 }
Пример #2
0
 public HomePageOnGet(CustomWebRazorPagesApplicationFactory <Startup> factory)
 {
     Client = factory.CreateClient();
 }