drinkMe/drinkMe.Server.Tests/Startup.cs
2021-04-26 19:33:07 +02:00

21 lines
495 B
C#

using drinkMe.Server.Services;
using drinkMe.Server.Services.Interfaces;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace drinkMe.Server.Tests
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddScoped<IDataService, DataService>()
.AddScoped<IPaymentService, PaymentService>();
}
}
}