private void AddToDb(AudioFileDoc audioFileDoc) { using (var db = _dataAccessService.Create()) { var collection = db.GetCollection <AudioFileDoc>(DbCollections.AudioFiles); collection.Upsert(audioFileDoc); } }