15 lines
366 B
C#
15 lines
366 B
C#
using Mws.Application.Common.Repositories;
|
|||
|
|
|
||
|
|
namespace Mws.Application.Common;
|
||
|
|
|
||
|
|
public interface IUnitOfWork
|
||
|
|
{
|
||
|
|
IUserRepository Users { get; }
|
||
|
|
IProjectRepository Projects { get; }
|
||
|
|
ITaskRepository Tasks { get; }
|
||
|
|
IDocumentRepository Documents { get; }
|
||
|
|
IRoleRepository Roles { get; }
|
||
|
|
|
||
|
|
Task<int> SaveChangesAsync(CancellationToken ct = default);
|
||
|
|
}
|