10 lines
226 B
C#
10 lines
226 B
C#
using Core.Entities;
|
|
|
|
namespace Core.Interfaces
|
|
{
|
|
public interface IUnitOfWork : IDisposable
|
|
{
|
|
IGenericRepository<TEntity> Repository<TEntity>() where TEntity : BaseEntity;
|
|
Task<int> Complete();
|
|
}
|
|
} |