first commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using Fitness_core_BE.Models;
|
||||
|
||||
namespace Fitness_core_BE.Interfaces
|
||||
{
|
||||
public interface IAgentRepo
|
||||
{
|
||||
Task<Agent> AddAsync(Agent agent);
|
||||
Task<Agent?> GetByApiKeyHashAsync(string apiKeyHash);
|
||||
Task<Agent?> GetByIdAsync(Guid agentId);
|
||||
Task<List<Agent>> GetByClientIdAsync(Guid clientId);
|
||||
Task UpdateLastSeenAsync(Guid agentId, DateTime seenAt);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user