set up login and register page
This commit is contained in:
@ -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; }
|
||||
}
|
||||
|
||||
@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user