change redirection to index
This commit is contained in:
@@ -506,7 +506,7 @@
|
|||||||
{
|
{
|
||||||
await _recipeRepository.DeleteRecipeAsync(recipeId);
|
await _recipeRepository.DeleteRecipeAsync(recipeId);
|
||||||
TempData["SuccessMessage"] = "Rezept wurde erfolgreich gelöscht.";
|
TempData["SuccessMessage"] = "Rezept wurde erfolgreich gelöscht.";
|
||||||
return RedirectToAction("CategoryRecipes", "Recipe");
|
return RedirectToAction("Index", "Home");
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user