public async Task <IEnumerable <Warning> > GetByAsync(Expression <Func <Warning, bool> > predicate) { return(await _repository.FindAllAsync(predicate).ConfigureAwait(false)); }