public GetAll ( bool>.Func |
||
predicate | bool>.Func | |
start | int | |
count | int | |
return | IEnumerable |
public IEnumerable<TagEntity> GetAll(Func<TagEntity, bool> predicate = null, int start = 0, int count = 6)
{
return predicate == null
? _repository.GetAll(p => true)
: start == 0
? _repository.GetAll(predicate)
: _repository.GetAll(predicate, start, count);
}