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;

namespace TestUserTypeApi.Repositories
{
   public  class UserDoTestRepository : BaseRepository<UserDoTest, string>, IRepositories.IUserDoTestRepository
    {
        protected readonly ILogger<BaseRepository<UserDoTest, string>> _logger;
        protected readonly IMongoCollection<UserDoTest> _collection_UserDoTest;
        public UserDoTestRepository(IOptions<MongodbOptions> settings, ILogger<BaseRepository<UserDoTest, string>> logger) : base(settings, logger)
        {
            _collection_UserDoTest = _context.GetCollection<UserDoTest>();
            _logger = logger;
        }
    }
}
