You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
521 B
15 lines
521 B
using Server.Dto.Request;
|
|
using Server.Dto.Response;
|
|
using Shared;
|
|
|
|
namespace Server.IServices
|
|
{
|
|
public interface ISessionService
|
|
{
|
|
Task<PaginatedResult<ResponseSessionDto>> GetSessions(int page, int size, bool ascending = true);
|
|
Task<ResponseSessionDto?> GetSessionById(string id);
|
|
Task<ResponseSessionDto> CreateSession(RequestSessionDto request);
|
|
Task<ResponseSessionDto?> UpdateSession(string id, RequestSessionDto request);
|
|
Task<bool> DeleteSession(string id);
|
|
}
|
|
} |