using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MongoDB
{
    public class MongoDateBase
    {
        private static MongoDateBase instance;
        public MongoClient client;
        private MongoDateBase()
        { client = new MongoClient("mongodb://localhost:27017"); }

        public static MongoDateBase getInstance()
        {
            if (instance == null)
                instance = new MongoDateBase();
            return instance;
        }
    }
}