help
Root Question Message
public interface ITodoService {
Task<IEnumerable<TodoList>> GetListsAsync();
Task<TodoList?> GetListFromIdAsync(Guid id);
Task<TodoItem?> GetItemFromIdAsync(Guid id);
Task<TodoItem?> AddItemToList(Guid listId, AddItemDto item);
}
Microsoft.AspNetCore.Http.IResult
as the return from my endpoints, although I don't really wanna use this in my services as first and foremost the project doesn't even have a reference to any ASP.NET library, and secondly I feel like services shouldn't be bothered with endpoint-level concerns such as what status code to return.IResult