IUnitOfWorkLog.cs 560 B

12345678910111213141516171819202122232425
  1. 
  2. using MTWorkHR.Core.Entities;
  3. using MTWorkHR.Core.IRepositories.Base;
  4. namespace MTWorkHR.Core.UnitOfWork
  5. {
  6. public interface IUnitOfWorkLog
  7. {
  8. IRepositoryLog<UserLog> UserLog { get; }
  9. IRepositoryLog<AuthLog> AuthLog { get; }
  10. IRepositoryLog<FileLog> FileLog { get; }
  11. IRepositoryLog<RoleLog> RoleLog { get; }
  12. IRepositoryLog<UserTaskLog> UserTaskLog { get; }
  13. IRepositoryLog<AttendanceLog> AttendanceLog { get; }
  14. Task<int> CompleteAsync();
  15. object GetRepositoryByName(string name);
  16. }
  17. }