public async Task <IActionResult> DeleteCocktail(Guid id) { if (id == null) { return(NotFound()); } try { var cocktail = await cocktailServices.DeleteCocktail(id); this.toast.AddSuccessToastMessage(Exceptions.SuccessfullyDeleted); return(RedirectToAction("ListCocktails", "Cocktail", new { Area = "" })); } catch (Exception) { this.toast.AddErrorToastMessage(Exceptions.SomethingWentWrong); return(RedirectToAction("ListCocktails", new { Area = "" })); } }