IsValid) { //checking model state //check whether name is already exists in the database or ... Above, we added a custom error message using the ModelState.
確定! 回上一頁