System.InvalidOperationException:“Unable to find the required services. Please add all the required services by calling 'IServiceCollection.AddMvc' inside the call to 'ConfigureServices(...)' in the application startup code.”
.原来是我自己写漏了东西?