auto.bus_api/Server/Services/ITicketGroupManagementService.cs
cuqmbr 63cc9a9edc refactor: make TicketGroup the main controller for ticket data retrieval
remove CRUD from TicketGroup, remove Ticket Controller and Service
2023-05-24 10:58:37 +03:00

15 lines
550 B
C#

using System.Dynamic;
using Microsoft.AspNetCore.Mvc;
using SharedModels.QueryParameters;
using SharedModels.QueryParameters.Objects;
namespace Server.Services;
public interface ITicketGroupManagementService
{
Task<(bool isSucceed, IActionResult actionResult, IEnumerable<ExpandoObject> ticketGroups, PagingMetadata<ExpandoObject> pagingMetadata)>
GetTicketGroups(TicketGroupParameters parameters);
Task<(bool isSucceed, IActionResult actionResult, ExpandoObject ticketGroup)>
GetTicketGroup(int id, string? fields);
}