public List <EntityCodeFailure> GetAll() { return(FactoryCodeFailure.GetList(base.DataContext.CodeFailure.ToList())); }
public List <EntityCodeFailure> GetActives() { return(FactoryCodeFailure.GetList(base.DataContext.CodeFailure.Where(p => p.Status == true).ToList())); }