/// <summary> /// Gets, searches, and filters all active dogs /// </summary> /// <param name="filter"><see cref="DogsFilter"/> object containing filter properties</param> /// <param name="userId">current request user Id <see cref="string"/></param> /// <returns><see cref="IEnumerable{Dogs}"/> active filtered/searched dog results </returns> public async Task<IEnumerable<Dog>> GetDogsAndFilter(DogsFilter filter, string userId) => _mapper.Map<IEnumerable<Dog>>( await _repository.FindDogsAndFilter(filter, userId) );