15 lines
392 B
C#
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);
|
|
}
|
|
}
|