using MadRunFabric.Common;
using MadRunFabric.Common.Options;
using MadRunFabric.Model.TestUserTypeApi;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Text;
using TestUserTypeApi.IRepositories;

namespace TestUserTypeApi.Repositories
{
  public   class YyzlsRepository : BaseRepository<Yyzls, string>, IYyzlsRepository
    {
        protected readonly ILogger<BaseRepository<Yyzls, string>> _logger;
        protected readonly IMongoCollection<Yyzls> _collection_MassageInfo;
        public YyzlsRepository(IOptions<MongodbOptions> settings, ILogger<BaseRepository<Yyzls, string>> logger) : base(settings, logger)
        {
            _collection_MassageInfo = _context.GetCollection<Yyzls>();
            _logger = logger;
        }

    }
}
