Files

18 lines
530 B
C#
Raw Permalink Normal View History

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-09-20 16:21:15 +07:00
IActionLogRepository ActionLogs { get; }
ILoginLogRepository LoginLogs { get; }
2026-08-13 23:10:22 +07:00
Task<int> SaveChangesAsync(CancellationToken ct = default);
}