using MongoDB.Driver;
using System.Collections.Generic;
namespace Bootstrap.DataAccess.MongoDB
{
///
///
///
public class Task : DataAccess.Task
{
///
///
///
///
public override IEnumerable Retrieves()
{
var users = DbManager.DBAccess.GetCollection("Tasks");
return users.Find(FilterDefinition.Empty).SortByDescending(task => task.AssignTime).ToList();
}
}
}