public Function1()
        {
            var Db = new MyMongoDb();

            MaCollection = Db.MaCollection;

            /*Client = new MongoClient(Environment.GetEnvironmentVariable("Connection_String").ToString());
             * Db = Client.GetDatabase("test");
             * MaCollection = Db.GetCollection<Machine>("Machines*/
        }
 public DeleteFunction()
 {
     Db           = new MyMongoDb();
     MaCollection = Db.MaCollection;
 }
        public GetLastItem()
        {
            var Db = new MyMongoDb();

            MaCollection = Db.MaCollection;
        }