Beispiel #1
0
        public SongService(IMongoDbManager dbManager) : base(dbManager)
        {
            var _mongoCollection = dbManager.GetCollection <Track>("songs");

            SetCollection(_mongoCollection);
        }
        public UserService(IMongoDbManager dbManager) : base(dbManager)
        {
            var _mongoCollection = dbManager.GetCollection <User>("users");

            SetCollection(_mongoCollection);
        }