public async Task EditProduct([FromBody] EditProductModel model) { await _client.UpdateProductMutationAsync(new Optional <UpdateProductInput>(new UpdateProductInput { Name = model.Name, Price = model.Price, InventoryId = model.InventoryId.ConvertTo <Guid>(), CategoryId = model.CategoryId.ConvertTo <Guid>(), ImageUrl = model.ImageUrl, Description = model.Description })); }