public async Task <IActionResult> Edit(CocktailViewModel cocktailVm)
        {
            if (ModelState.IsValid)
            {
                try
                {
                    //image check
                    var cocktailDto = cocktailVm.MapToCocktailDTO();
                    var oldName     = await _cocktailServices.GetCocktailNameById(cocktailVm.Id);

                    var cocktailName = await _cocktailServices.Update(cocktailDto);

                    var id = this.User.FindFirstValue(ClaimTypes.NameIdentifier);
                    await _notificationServices.CocktailEditNotificationToAdminAsync(id, oldName, cocktailName);

                    if (oldName != cocktailName)
                    {
                        _toast.AddSuccessToastMessage
                            ($"You successfully edited \"{oldName}\" cocktail - new name\"{cocktailName}\"!");
                    }

                    else
                    {
                        _toast.AddSuccessToastMessage
                            ($"You successfully edited \"{cocktailName}\" cocktail!");
                    }
                    return(RedirectToAction(nameof(ListCocktails)));
                }
                catch (Exception ex)
                {
                    _toast.AddErrorToastMessage(ex.Message);
                    ViewBag.ErrorTitle = "";
                    return(View("Error"));
                }
            }
            return(View(cocktailVm));
        }