AuthorBuddy/Services/IChatService.cs

11 lines
242 B
C#
Raw Permalink Normal View History

2026-06-21 07:52:03 +02:00
using AuthorBuddy.Web.Data;
namespace AuthorBuddy.Web.Services;
public interface IChatService
{
Task<List<ChatEntity>> GetHistoryAsync(int userId);
Task AddMessageAsync(ChatEntity message);
Task ClearHistoryAsync(int userId);
}