using BotSharp.Abstraction.Repositories.Records; using System.Linq; namespace BotSharp.Abstraction.Repositories; public interface IBotSharpRepository { IQueryable User { get; } IQueryable Agent { get; } IQueryable UserAgent { get; } IQueryable Conversation { get; } int Transaction(Action action); void Add(object entity); UserRecord GetUserByEmail(string email); void CreateUser(UserRecord user); void UpdateAgent(AgentRecord agent); }