AuthorBuddy/Services/IProjectService.cs
2026-05-20 06:12:54 +02:00

12 lines
443 B
C#

using AuthorBuddy.Web.Models;
namespace AuthorBuddy.Web.Services;
public interface IProjectService
{
Task<int> CreateNewProjectAsync(string projectName, string rootPath);
Task<List<Project>> GetAllProjectsAsync();
Task<Project?> GetProjectAsync(int projectId);
Task<List<FileTreeItem>> GetProjectFileTreeAsync(int projectId);
Task SyncProjectFilesAsync(int projectId, string directoryPath, IProgress<string> progress);
}