Hands-On Microservices with Kubernetes by Gigi Sayfan

Hands-On Microservices with Kubernetes by Gigi Sayfan

Author:Gigi Sayfan
Language: eng
Format: epub, azw3
Tags: COM051310 - COMPUTERS / Programming Languages / C#, COM051230 - COMPUTERS / Software Development and Engineering / General, COM051240 - COMPUTERS / Software Development and Engineering / Systems Analysis and Design
Publisher: Packt Publishing
Published: 2019-07-05T11:16:40+00:00


We are not going to discuss these in more detail, as this is beyond the scope of this book. However, you can find complete details from the official documentation at https://docs.microsoft.com/en-us/aspnet/core/mvc/models/model-binding.

In the previous code snippets, we discussed the Create and Read operations. It's now time to write a code for the Update operation. In the following code, we have two action methods: one is Get, and the other is a Post request:

public IActionResult Edit(Guid id) => View(_repositry.GetProduct(id));



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.