You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IRoomRepository.cs 581B

1234567891011121314
  1. using Diligent.WebAPI.Data.Entities;
  2. namespace Diligent.WebAPI.Business.Interfaces
  3. {
  4. public interface IRoomRepository : IBaseRepository<Room>
  5. {
  6. Task<bool> AddCustomerToRoom(string customerId, string roomId);
  7. Task<bool> AddMessage(string roomId, Message message);
  8. Task<List<Message>> GetMessagesForSpecificRoom(string roomId);
  9. Task<bool> LeaveChatRoom(string roomId, string userId);
  10. Task<List<Room>> GetRoomsWhichSupportCreated(string supportId);
  11. Task<List<Room>?> GetRoomsWithFilteredMessages(string customerId);
  12. }
  13. }