Arash.Core.Manager.CoffeeshopManager.GetCount C# (CSharp) Метод

GetCount() публичный Метод

public GetCount ( bool>.Func predicate = null ) : int
predicate bool>.Func
Результат int
        public int GetCount(Func<Coffeeshop, bool> predicate = null)
        {
            return predicate == null
                ? _repository.GetCount(p => true)
                : _repository.GetCount(predicate);
        }