mirror of
https://dev.azure.com/tstanciu94/Chatbot/_git/Chatbot
synced 2025-06-21 20:48:22 +03:00
14 lines
309 B
C#
14 lines
309 B
C#
using Chatbot.Api.Domain.Entities;
|
|
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Chatbot.Api.Domain.Repositories
|
|
{
|
|
public interface IChatRepository
|
|
{
|
|
Task<Chat> CreateChat(Guid sessionId);
|
|
Task Add<T>(T entity) where T : class;
|
|
Task CloseChat(Guid chatId);
|
|
}
|
|
}
|