private void Delete(int id)
        {
            IsView = saveId != id && IsView;
            saveId = id;
            Product product = GetProductById();

            Products.Remove(product);
            productsLogic.DeleteProductAsync(product.Id);
        }