first commit

This commit is contained in:
Dhananjaya99
2026-09-28 11:44:26 +05:30
parent 721743ae6b
commit bffc9b1686
424 changed files with 46474 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
using Fitness_core_BE.Models;
namespace Fitness_core_BE.Interfaces
{
public interface IChatRepo
{
Task<Chat?> GetChatByIdAsync(Guid chatId);
Task<Chat?> GetChatBetweenUsersAsync(Guid userAId, Guid userBId);
Task CreateChatAsync(Chat chat);
Task AddMessageAsync(ChatMessages message);
Task<List<ChatMessages>> GetMessagesAsync(Guid chatId, int skip, int take);
Task<bool> IsUserInChatAsync(Guid chatId, Guid userId);
}
}