refactor: ReadAll-Methode aus allen Schnittstellen entfernt, da sie unnötig war. Diese Änderung verbessert die Klarheit der Schnittstellen und entspricht den Best Practices.
This commit is contained in:
parent
ee5668a5cb
commit
b91769d931
@ -21,16 +21,6 @@
|
||||
/// <returns>The entity found, or null if no entity is found.</returns>
|
||||
Task<TEntity?> ReadByIdAsync(TId id);
|
||||
|
||||
/// <summary>
|
||||
/// Retrieves all entities of type <typeparamref name="TEntity"/> from the repository.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This method returns an <see cref="IQueryable{TEntity}"/> that represents all entities in the repository.
|
||||
/// The result is an IQueryable that allows for further querying and filtering to be applied by the caller.
|
||||
/// </remarks>
|
||||
/// <returns>An <see cref="IQueryable{TEntity}"/> containing all entities of type <typeparamref name="TEntity"/> in the repository.</returns>
|
||||
protected IQueryable<TEntity> ReadAll();
|
||||
|
||||
/// <summary>
|
||||
/// Retrieves all entities from the repository.
|
||||
/// </summary>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user