Exemplo n.º 1
0
 public OrderIndexOnGet(CustomWebRazorPagesApplicationFactory <Startup> factory)
 {
     Client = factory.CreateClient(new WebApplicationFactoryClientOptions
     {
         AllowAutoRedirect = false
     });
 }
Exemplo n.º 2
0
 public HomePageOnGet(CustomWebRazorPagesApplicationFactory <Startup> factory)
 {
     Client = factory.CreateClient();
 }