Reorganizing the structure of the project, adding unit testing, adding PokemonService and ShakespeareService.
This commit is contained in:
1 parent
6c5d77d696
commit
d47641ccb4
26 files changed
+353
-86
No files matched your search
@@ -0,0 +1,16 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Pokespearean.Models;
|
||||
using Pokespearean.Services;
|
||||
|
||||
namespace Pokespearean.Tests
|
||||
{
|
||||
public class Startup
|
||||
{
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddScoped<IPokemonService, PokemonService>();
|
||||
services.AddScoped<IShakespeareService, ShakespeareService>();
|
||||
services.Configure<Settings>(s => s.ShakespeareApi = "https://api.funtranslations.com");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user