This commit is contained in:
Zeeshaun
2026-03-31 14:32:23 -05:00
parent f4646dc97f
commit 9be174da46
485 changed files with 37290 additions and 0 deletions
@@ -0,0 +1,25 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using LCU.Library.Internal.CoreApiWrapperLib.CoreDbUtilities;
using LCU.Library.Internal.CoreApiWrapperLib.Utilities;
using LCU.Library.Internal.CoreApiWrapperModel.CoreModels.Saf;
namespace LCU.Library.Internal.CoreApiWrapperLib.DataAccess
{
public class SafDao : ISafDao
{
private readonly ICoreDbExecution _coreDbExecution;
private const string GetAllSafUserInfoQuery = "Saf/GetAllSafUserInfo";
public SafDao(ICoreDbExecution coreDbExecution)
{
_coreDbExecution = coreDbExecution;
}
public async Task<IEnumerable<SafUser>> GetAllSafUsersCoreInfo()
{
var query = QueryUtilities.GetQuery(GetAllSafUserInfoQuery);
return await _coreDbExecution.ExecuteQuery<SafUser>(query);
}
}
}