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