diff --git a/asg_form/Controllers/Teamregistration/RegisterController.cs b/asg_form/Controllers/Teamregistration/RegisterController.cs index 6f13fb6..8a14f9b 100644 --- a/asg_form/Controllers/Teamregistration/RegisterController.cs +++ b/asg_form/Controllers/Teamregistration/RegisterController.cs @@ -26,14 +26,14 @@ namespace asg_form.Controllers.Teamregistration } public class userMsg { - public long id { get; set; } + public long? id { get; set; } public string chinaname { get; set; } public int userId { get; set; } public int sex { get; set; } public string introduction { get; set; } public string gameId { get; set; } - public string historyRank { get; set; } - public string contactNumber { get; set; } + public string? historyRank { get; set; } + public string? contactNumber { get; set; } } public class RegisterController : ControllerBase