So, in the HTTP Post action method, check the name in the database and add error message in the ModelState dictionary if the name already exists, as shown below ...
確定! 回上一頁