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