private async Task CreateSamplesAsync(int userId) { var sampleListTranslations = new Dictionary <string, string> { { "SampleListName", _localizer["SampleListName"] }, { "SampleListTask1", _localizer["SampleListTask1"] }, { "SampleListTask2", _localizer["SampleListTask2"] }, { "SampleListTask3", _localizer["SampleListTask3"] } }; await _listService.CreateSampleAsync(userId, sampleListTranslations); var sampleRecipeTranslations = new Dictionary <string, string> { { "SampleRecipeName", _localizer["SampleRecipeName"] }, { "SampleRecipeDescription", _localizer["SampleRecipeDescription"] }, { "SampleRecipeInstructions", _localizer["SampleRecipeInstructions"] }, { "SampleRecipeIngredient1", _localizer["SampleRecipeIngredient1"] }, { "SampleRecipeIngredient2", _localizer["SampleRecipeIngredient2"] }, { "SampleRecipeIngredient3", _localizer["SampleRecipeIngredient3"] } }; await _recipeService.CreateSampleAsync(userId, sampleRecipeTranslations); }