using System; using System.Collections.Generic; using System.Threading.Tasks; using ChronoFlow.Model; namespace ChronoFlow.Persistence { public interface ITimeEntryRepository { Task> GetEntriesForUserAsync(string username); Task UpdateEntryStatusAndCommentAsync(int id, bool isCompleted, string? comment); // (Optional) Weitere Methoden für Admin-Funktionen: Task> GetAllEntriesAsync(); // Admin Task AddEntryAsync(Zeiteintrag entry); // Admin Task DeleteEntryAsync(int id); // Admin } }