Пример #1
0
        public async Task <IEnumerable <GetRecipeDTO> > BrowseAsyncComponents(string searchString = null)
        {
            var recipes = await _recipeRepository.BrowseAsyncComponents(searchString);

            return(_mapper.Map <IEnumerable <GetRecipeDTO> >(recipes));
        }