AuthorBuddy/Services/IProjectService.cs

13 lines
443 B
C#
Raw Normal View History

2026-05-14 12:31:35 +02:00
using AuthorBuddy.Web.Models;
namespace AuthorBuddy.Web.Services;
public interface IProjectService
{
Task<int> CreateNewProjectAsync(string projectName, string rootPath);
Task<List<Project>> GetAllProjectsAsync();
2026-05-20 06:12:54 +02:00
Task<Project?> GetProjectAsync(int projectId);
Task<List<FileTreeItem>> GetProjectFileTreeAsync(int projectId);
2026-05-14 12:31:35 +02:00
Task SyncProjectFilesAsync(int projectId, string directoryPath, IProgress<string> progress);
}