14 lines
360 B
C#
Raw Normal View History

2024-11-27 00:03:35 +04:00
using System.Collections.Generic;
using YourNamespace.Entities;
namespace YourNamespace.Repositories
{
public interface ITicketRepository
{
IEnumerable<Ticket> ReadTickets();
Ticket ReadTicketById(int id);
void CreateTicket(Ticket ticket);
void UpdateTicket(Ticket ticket);
void DeleteTicket(int id);
}
}