Refactored IRepository<T> and ICatalogRepository to reside in the DbFirst.Application layer instead of Domain. Updated namespaces, using statements, and all references in services and handlers. Adjusted csproj dependencies to reflect the new structure. Updated comments to clarify Clean Architecture rationale and improved separation of concerns.
11 lines
413 B
C#
11 lines
413 B
C#
using DbFirst.Domain;
|
|
using DbFirst.Domain.Entities;
|
|
|
|
namespace DbFirst.Application.Repositories;
|
|
|
|
public interface ICatalogRepository : IRepository<VwmyCatalog>
|
|
{
|
|
Task<VwmyCatalog?> GetByTitleAsync(string title, CancellationToken cancellationToken = default);
|
|
Task<VwmyCatalog?> UpdateAsync(int id, VwmyCatalog catalog, CatalogUpdateProcedure procedure, CancellationToken cancellationToken = default);
|
|
}
|