2026-08-19 23:25:08 +07:00
|
|
|
using mws.backend.dotnet.application.Common.Repositories;
|
2026-08-13 23:10:22 +07:00
|
|
|
|
2026-08-19 23:25:08 +07:00
|
|
|
namespace mws.backend.dotnet.application.Common;
|
2026-08-13 23:10:22 +07:00
|
|
|
|
|
|
|
|
public interface IUnitOfWork
|
|
|
|
|
{
|
|
|
|
|
IUserRepository Users { get; }
|
|
|
|
|
IProjectRepository Projects { get; }
|
|
|
|
|
ITaskRepository Tasks { get; }
|
|
|
|
|
IDocumentRepository Documents { get; }
|
|
|
|
|
IRoleRepository Roles { get; }
|
2026-08-19 23:25:08 +07:00
|
|
|
IMasterDataRepository MasterData { get; }
|
2026-08-13 23:10:22 +07:00
|
|
|
|
|
|
|
|
Task<int> SaveChangesAsync(CancellationToken ct = default);
|
|
|
|
|
}
|