14 lines
280 B
C#
14 lines
280 B
C#
using api.Interfaces;
|
|
using data.Tickets;
|
|
using models.Core;
|
|
|
|
namespace api.Services;
|
|
|
|
public class TicketManager(IConfiguration config) : ITicketManager
|
|
{
|
|
public void SaveMintedTicket(Ticket ticket)
|
|
{
|
|
var db = new Save(config);
|
|
db.Execute(ticket);
|
|
}
|
|
} |