Exemple #1
0
        public static IEnumerable <Order> GetOrder(WorkSpace workSpace)
        {
            IEnumerable <Order> orders = DBManager.GetOrderCollection().
                                         Find(model => model.WorkspaceID == workSpace.ID.ToString()).ToList();

            return(orders);
        }
Exemple #2
0
 public static IEnumerable <Order> GetAllOrder()
 {
     return(DBManager.GetOrderCollection().Find(_ => true).ToList());
 }