using Bootstrap.Security;
using MongoDB.Driver;
using System.Collections.Generic;
namespace Bootstrap.DataAccess.MongoDB
{
///
///
///
public class Menu : DataAccess.Menu
{
///
///
///
///
///
public override IEnumerable RetrieveAllMenus(string userName)
{
var menus = MongoDbAccessManager.DBAccess.GetCollection("Navigations");
return menus.Find(FilterDefinition.Empty).ToList();
}
}
}