Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using Diligent.WebAPI.Business.Interfaces;
  2. using Diligent.WebAPI.Data;
  3. using Diligent.WebAPI.Data.Entities;
  4. using MongoDB.Driver;
  5. namespace Diligent.WebAPI.Business.Services
  6. {
  7. public class RoomRepository : BaseRepository<Room>, IRoomRepository
  8. {
  9. protected new IMongoCollection<Request> _dbCollection;
  10. public RoomRepository(IMongoDBContext context) : base(context)
  11. {
  12. _dbCollection = _mongoContext.GetCollection<Request>(typeof(Request).Name);
  13. }
  14. public Task<bool> AddCustomerToRoom(string customerId, string roomId)
  15. {
  16. throw new NotImplementedException();
  17. }
  18. public Task<bool> AddMessage(string roomId, Message message)
  19. {
  20. throw new NotImplementedException();
  21. }
  22. public Task<List<Message>> GetMessagesForSpecificRoom(string roomId)
  23. {
  24. throw new NotImplementedException();
  25. }
  26. public Task<List<Room>> GetRoomsWhichSupportCreated(string supportId)
  27. {
  28. throw new NotImplementedException();
  29. }
  30. public Task<List<Room>?> GetRoomsWithFilteredMessages(string customerId)
  31. {
  32. throw new NotImplementedException();
  33. }
  34. public Task<bool> LeaveChatRoom(string roomId, string userId)
  35. {
  36. throw new NotImplementedException();
  37. }
  38. }
  39. }