chore: initial commit of TaskTracker project
Existing ASP.NET API with vanilla JS SPA, WindowWatcher, Chrome extension, and MCP server. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
15
TaskTracker.Core/Interfaces/ITaskRepository.cs
Normal file
15
TaskTracker.Core/Interfaces/ITaskRepository.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using TaskTracker.Core.Entities;
|
||||
using TaskTracker.Core.Enums;
|
||||
|
||||
namespace TaskTracker.Core.Interfaces;
|
||||
|
||||
public interface ITaskRepository
|
||||
{
|
||||
Task<List<WorkTask>> GetAllAsync(WorkTaskStatus? status = null, int? parentId = null, bool includeSubTasks = false);
|
||||
Task<WorkTask?> GetByIdAsync(int id);
|
||||
Task<WorkTask?> GetActiveTaskAsync();
|
||||
Task<List<WorkTask>> GetSubTasksAsync(int parentId);
|
||||
Task<WorkTask> CreateAsync(WorkTask task);
|
||||
Task UpdateAsync(WorkTask task);
|
||||
Task DeleteAsync(int id);
|
||||
}
|
||||
Reference in New Issue
Block a user