Arash.Core.Manager.CoffeeshopManager.Get C# (CSharp) Method

Get() public method

public Get ( bool>.Func predicate = null ) : Coffeeshop
predicate bool>.Func
return Arash.Restaurant.Model.Coffeeshop
        public Coffeeshop Get(Func<Coffeeshop, bool> predicate = null)
        {
            return predicate == null
                ? _repository.Get(p => true)
                : _repository.Get(predicate);
        }