public List <EntityRefSell> GetActives() { return(FactoryRefSell.GetList(base.DataContext.RefSell.Where(p => p.Status == true).ToList())); }
public List <EntityRefSell> GetByEmpoyeeDate(int UserID, DateTime date) { return(FactoryRefSell.GetList(base.DataContext.RefSell.Where(p => p.FK_EmployeeID == UserID && DbFunctions.TruncateTime(p.CreateDate) == date).OrderByDescending(o => o.CreateDate).ToList())); }
public List <EntityRefSell> GetAll() { return(FactoryRefSell.GetList(base.DataContext.RefSell.ToList())); }