using Bootstrap.Security;
using MongoDB.Driver;
using System.Collections.Generic;
using System.Linq;
namespace Bootstrap.DataAccess.MongoDB
{
///
///
///
public class Dict : DataAccess.Dict
{
///
///
///
///
public override IEnumerable RetrieveDicts()
{
var dicts = MongoDbAccessManager.DBAccess.GetCollection("Dicts");
return dicts.Find(FilterDefinition.Empty).ToList();
}
}
}