using TaskLedger.Api.Domain.Entities; namespace TaskLedger.Api.Services; /// /// Service interface for task operations. /// public interface ITaskService { /// /// Creates a new task. /// /// The title of the task (required). /// The description of the task (optional). /// The created task. Task CreateTaskAsync(string title, string? description); /// /// Gets all tasks. /// /// A list of all tasks. Task> GetAllTasksAsync(); }