fix .
This commit is contained in:
@@ -22,11 +22,4 @@ public class Startup : DefaultStartup
|
||||
base.ConfigureServices(services);
|
||||
services.AddRedis();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||
{
|
||||
base.Configure(app, env);
|
||||
var r = app.ApplicationServices.GetService<IUserApi>().GetUserByIdsAsync(new IdsRequest { Ids = new List<int>() { 1 } }).GetAwaiter().GetResult();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user