Initial Commit

This commit is contained in:
Emmanuel Rojas committed 2026-09-04 12:26:23 -05:00
commit bd7e505432
22 files changed
+871

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
namespace RT.Application.Services;
public interface IService<TCreate, TUpdate, TResponse>
{
Task<IEnumerable<TResponse>> GetAllAsync(CancellationToken ct = default);
Task<TResponse?> GetByIdAsync(Guid id, CancellationToken ct = default);
Task<TResponse> CreateAsync(TCreate dto, CancellationToken ct = default);
Task<TResponse> UpdateAsync(Guid id, TUpdate dto, CancellationToken ct = default);
Task DeleteAsync(Guid id, CancellationToken ct = default);
}