Pokespearean/Pokespearean.Tests/Startup.cs

17 lines
454 B
C#
Raw Normal View History

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");
}
}
}