Files
nexus/backend/Repositories/IProjectRepository.cs
T
AzuTear f5552218bc
CI - Build & Test / Backend (.NET) (push) Successful in 42s
CI - Build & Test / Frontend (Vue/TS) (push) Successful in 2m46s
CI - Build & Test / Security Check (push) Successful in 3s
CI - Build & Test / Deploy Nexus (push) Successful in 56s
feat: ship agent-first mission control v0.2.57
2026-07-31 22:39:47 +02:00

17 lines
648 B
C#

using Nexus.Api.Data;
namespace Nexus.Api.Repositories;
public interface IProjectRepository
{
Task<List<Project>> GetAllAsync(CancellationToken ct = default);
ValueTask<Project?> GetByIdAsync(Guid id, CancellationToken ct = default);
Task<Project> AddAsync(Project project, CancellationToken ct = default);
Task UpdateAsync(Project project, CancellationToken ct = default);
Task DeleteAsync(Project project, CancellationToken ct = default);
Task<bool> HasTasksAsync(Guid projectId, CancellationToken ct = default);
Task<List<WorkTask>> GetTasksAsync(
Guid projectId,
CancellationToken ct = default);
}