14 lines
360 B
C#
14 lines
360 B
C#
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);
|
|
}
|
|
} |