public List <EntityProduct> GetActives() { return(FactoryProduct.GetList(base.DataContext.Product.Where(p => p.Status == true).ToList())); }
public List <EntityProduct> GetAll() { return(FactoryProduct.GetList(base.DataContext.Product.ToList())); }
public List <EntityProduct> GetByIDs(List <string> IDs_Products) { return(FactoryProduct.GetList(base.DataContext.Product.Where(p => IDs_Products.Contains(p.Model)).ToList())); }