mirror of
https://github.com/farcasclaudiu/PracticeCalendar.git
synced 2026-06-28 21:01:10 +03:00
Add project files.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace PracticeCalendar.Domain.Common.Interfaces
|
||||
{
|
||||
// Apply this marker interface only to aggregate root entities
|
||||
// Repositories will only work with aggregate roots, not their children
|
||||
public interface IAggregateRoot { }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using Ardalis.Specification;
|
||||
|
||||
namespace PracticeCalendar.Domain.Common.Interfaces
|
||||
{
|
||||
public interface IRepository<T> : IRepositoryBase<T> where T : class, IAggregateRoot
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user