public virtual async Task <NotificationResult> DeleteByIdAsync(int id)
        {
            var result = new NotificationResult();

            result.Add(await _ingredientRepository.DeleteByIdAsync(id));
            if (result.IsValid)
            {
                result.AddMessage(Shared.Domain.Resources.Handler.DeleteSuccess_Message);
            }
            else
            {
                result.AddErrorOnTop(Shared.Domain.Resources.Handler.DeleteError_Message);
            }
            return(result);
        }