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.
14 lines
499 B
14 lines
499 B
using Server.Dto.Request;
|
|
using Server.Dto.Response;
|
|
using Shared;
|
|
|
|
namespace Server.IServices;
|
|
|
|
public interface IExerciceService
|
|
{
|
|
Task<PaginatedResult<ResponseExerciceDto>> GetExercices(int page, int size, bool ascending = true);
|
|
Task<ResponseExerciceDto?> GetExerciceById(string id);
|
|
Task<ResponseExerciceDto> CreateExercice(RequestExerciceDto request);
|
|
Task<ResponseExerciceDto?> UpdateExercice(string id, RequestExerciceDto request);
|
|
Task<bool> DeleteExercice(string id);
|
|
} |