feat(ProfileObjStateRepository): Zwei asynchrone Lesemethoden wurden zusammengeführt.

This commit is contained in:
Developer 02
2024-10-24 15:15:41 +02:00
parent 05701c10d2
commit ca94368d0b
2 changed files with 16 additions and 9 deletions

View File

@@ -5,8 +5,10 @@ namespace WorkFlow.Infrastructure.Contracts
{
public interface IProfileObjStateRepository : ICRUDRepository<ProfileObjState, int>
{
Task<IEnumerable<ProfileObjState>> ReadAsync(bool isReadonly = true, bool withProfile = true, bool withUser = true, bool withState = true, int? profileId = null, int? objId = null, bool? profileActive = null);
Task<ProfileObjState?> ReadAsync(bool isReadonly = true, bool withProfile = true, bool withUser = false, bool withState = true, int? usrId = null, string? username = null, int? profileId = null, int? objId = null, bool? profileActive = null);
Task<IEnumerable<ProfileObjState>> ReadAsync(
bool isReadonly = true,
bool withProfile = true, bool withUser = true, bool withState = true,
int? usrId = null, string? username = null,
int? profileId = null, int? objId = null, bool? profileActive = null);
}
}