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 diagnosisinbasesRepository : BaseRepository<diagnosisinbases, string>, IdiagnosisinbasesRepository
    {
        protected readonly ILogger<BaseRepository<diagnosisinbases, string>> _logger;
        protected readonly IMongoCollection<diagnosisinbases> _collection_MassageInfo;
        public diagnosisinbasesRepository(IOptions<MongodbOptions> settings, ILogger<BaseRepository<diagnosisinbases, string>> logger) : base(settings, logger)
        {
            _collection_MassageInfo = _context.GetCollection<diagnosisinbases>();
            _logger = logger;
        }
    }
}
