Rename refactoring method
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user