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 UserTestRepository : BaseRepository<UserTest, string>, IRepositories.IUserTestRepository
    {
        protected readonly ILogger<BaseRepository<UserTest, string>> _logger;
        protected readonly IMongoCollection<UserTest> _collection_UserTest;
        public UserTestRepository(IOptions<MongodbOptions> settings, ILogger<BaseRepository<UserTest, string>> logger) : base(settings, logger)
        {
            _collection_UserTest = _context.GetCollection<UserTest>();
            _logger = logger;
        }
    }
}
