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.
OptifitWebService/Server/IServices/IExerciceTemplateSercice.cs

14 lines
555 B

using Server.Dto.Request;
using Server.Dto.Response;
using Shared;
namespace Server.IServices;
public interface IExerciceTemplateSercice
{
Task<PaginatedResult<ResponseTemplateExerciceDto>> GetExercices(int page, int size, bool ascending = true);
Task<ResponseTemplateExerciceDto?> GetExerciceById(string id);
Task<ResponseTemplateExerciceDto> CreateExercice(RequestTemplateExerciceDto request);
Task<ResponseTemplateExerciceDto?> UpdateExercice(string id, RequestTemplateExerciceDto request);
Task<bool> DeleteExercice(string id);
}