using System;
using MadRunFabric.Common;
using MadRunFabric.Common.Options;
using MadRunFabric.Model.OnlineServiceApi;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using MongoDB.Driver;


namespace OnlineServiceApi.Repositories
{
    public class msgonlineRepository : BaseRepository<T_Msg_Chat, string>, IRepositories.ImsgonlineRepository
    {
        protected readonly ILogger<BaseRepository<T_Msg_Chat, string>> _logger;
        protected readonly IMongoCollection<T_Msg_Chat> _collection_T_Msg_Chat;
        public msgonlineRepository(IOptions<MongodbOptions> settings, ILogger<BaseRepository<T_Msg_Chat, string>> logger) : base(settings, logger)
        {
            _collection_T_Msg_Chat = _context.GetCollection<T_Msg_Chat>();
            _logger = logger;
        }
    }
}
