set up login and register page

This commit is contained in:
2024-07-27 11:14:43 +03:30
parent 9073475fb0
commit 09f9d07f03
18 changed files with 540 additions and 116 deletions

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
@ -7,6 +8,8 @@ namespace WebApplication1.Models
{
public class Login
{
[Key]
public int ID { get; set; }
public string username { get; set; }
public string password { get; set; }
}

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
@ -7,6 +8,8 @@ namespace WebApplication1.Models
{
public class Register
{
[Key]
public int ID { get; set; }
public string username { get; set; }
public string password { get; set; }
public string ConfirmPassword { get; set; }