Chargily / chargily-epay-csharp

C# Library for Chargily ePay Gateway
https://dev.chargily.com/docs/#/epay-csharp
MIT License
7 stars 3 forks source link

problem dependences #7

Closed cheurfa20081984 closed 2 years ago

cheurfa20081984 commented 2 years ago

ConsoleTest problem et dependances probleme

rainxh11 commented 2 years ago

This package is using the official Microsoft.Extensions.DependencyInjection package to register itself as a singleton client. the most straightforward way to use it would be:

using chargily.epay.csharp;

var builder = WebApplication.CreateBuilder(args); <--- Web or any generic Host Builder

builder.Services.AddChargilyEpayGateway("[API_KEY]");