ASP.NET Core Identity integration
This commit is contained in:
18
RentACar/Data/Models/User.cs
Normal file
18
RentACar/Data/Models/User.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
namespace Data.Entities
|
||||
{
|
||||
public class User : IdentityUser<string>
|
||||
{
|
||||
public string FirstName { get; set; }
|
||||
|
||||
public string LastName { get; set; }
|
||||
|
||||
public string PersonalNumber { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user