public async Task <ActionResult> GetSpecificShoppingList(long listId) { ShoppingListDTO fetchedList = await shoppingListRepository.GetShoppingListByIdAsync(listId); if (fetchedList == null) { return(NotFound()); } return(Ok(dtoMapper.Map <ShoppingList>(fetchedList))); }