public List <EntityContract> GetAll() { return(FactoryContrat.GetList(base.DataContext.ContratReceipt.ToList())); }
public List <EntityContract> GetActives() { return(FactoryContrat.GetList(base.DataContext.ContratReceipt.Where(p => p.Status == true).ToList())); }