lubelog/External/Interfaces/IApiKeyRecordDataAccess.cs
DESKTOP-T0O5CDB\DESK-555BD 9403ea437e logic layer to manage api keys
2026-01-24 10:24:10 -07:00

14 lines
468 B
C#

using CarCareTracker.Models;
namespace CarCareTracker.External.Interfaces
{
public interface IApiKeyRecordDataAccess
{
public List<APIKey> GetAPIKeyRecordsByUserId(int userId);
public APIKey GetAPIKeyById(int apiKeyId);
public APIKey GetAPIKeyByKey(string hashedKey);
public bool SaveAPIKey(APIKey apiKey);
public bool DeleteAPIKeyById(int apiKeyId);
public bool DeleteAllAPIKeysByUserId(int userId);
}
}