15 lines
362 B
C#
15 lines
362 B
C#
using TicketAppIncrArchi.Application.DTO;
|
|
using TicketAppIncrArchi.Domain.Entities;
|
|
|
|
namespace TicketAppIncrArchi.Application.Interfaces;
|
|
|
|
public interface ITicketService
|
|
{
|
|
|
|
//TODO: implement Repository
|
|
IEnumerable<TicketResponse> GetAll();
|
|
|
|
Ticket? GetById(Guid id);
|
|
Result<CreateTicketResponse> Create(CreateTicketRequest request);
|
|
}
|