/// <summary> /// Returns a CardsCollection collection for cards for view of name /// </summary> /// <param name="name"></param> /// <returns></returns> public CardsCollection GetView(string name) { var cards = new CardsCollection(MingleProject, _model); MingleProject.GetView(name).ToList().ForEach(c => cards.Add(new Card(c, _model))); return(cards); }
/// <summary> /// Wraps MingleProject.GetCards(filters) /// </summary> /// <param name="filters"></param> /// <returns></returns> public CardsCollection GetCards(Collection <string> filters) { var cards = new CardsCollection(_project, _model); _project.GetCards(filters).ToList().ForEach(c => cards.Add(new Card(c, _model))); return(cards); }