when i submit, i cant insert the data to database.
i used breakpoint and it seems my auto icrement id returns zero.
this is my model
    public int ContactID { get; set; }
    public string Name { get; set; }
    public string Surname { get; set; }
    public string Email { get; set; }
    public string Phone { get; set; }
    public string Address { get; set; }
    public string Code { get; set; }
    public string Status { get; set; }

 
     
    