ChatRAG/Services/Contracts/IProjectDataRepository.cs
2025-06-21 14:20:07 -03:00

15 lines
392 B
C#

using ChatRAG.Models;
namespace ChatRAG.Services.Contracts
{
public interface IProjectDataRepository
{
Task<List<Project>> GetAsync();
Task<Project?> GetAsync(string id);
Task CreateAsync(Project newProject);
Task UpdateAsync(string id, Project updatedProject);
Task SaveAsync(Project project);
Task RemoveAsync(string id);
}
}