Rename refactoring method

This commit is contained in:
franc
2025-04-29 09:16:18 +02:00
parent 327ba7b1cc
commit a8fdca4871
2 changed files with 2 additions and 3 deletions
@@ -18,7 +18,6 @@
Task<Recipe?> GetRecipeByNameAndImageAsync(string recipeName, string imageFileName); Task<Recipe?> GetRecipeByNameAndImageAsync(string recipeName, string imageFileName);
Task<int> GetShoppingListRecipeCountAsync(); Task<int> CountAllRecipeShoppinglistsAsync();
} }
} }
@@ -168,7 +168,7 @@
.FirstOrDefaultAsync(); .FirstOrDefaultAsync();
} }
public async Task<int> GetShoppingListRecipeCountAsync() public async Task<int> CountAllRecipeShoppinglistsAsync()
{ {
return await _context.RecipeShoppingLists return await _context.RecipeShoppingLists
.CountAsync(); .CountAsync();