AppActs.Client.Repository.ApplicationRepository.FindAll C# (CSharp) Méthode

FindAll() public méthode

public FindAll ( ) : IEnumerable
Résultat IEnumerable
        public IEnumerable<Application> FindAll()
        {
            try
            {
                return this.GetCollection()
                    .Find(Query<Application>.EQ<bool>(x => x.Active, true))
                    .SetFields(Fields.Exclude("_id"));
            }
            catch (Exception ex)
            {
                throw new DataAccessLayerException(ex);
            }
        }