massive work on user auth

This commit is contained in:
Вячеслав 2025-04-08 19:08:17 +05:00
parent 35331a87f1
commit c2bcaf0832
17 changed files with 186 additions and 19 deletions

View file

@ -2,10 +2,14 @@ using Microsoft.AspNetCore.Identity;
namespace SurveyBackend.Core.Models;
public class User : IdentityUser<int>
public class User
{
public string Id { get; set; }
public string Email { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Password { get; set; }
public ICollection<Group> Groups { get; set; }
}

View file

@ -0,0 +1,6 @@
namespace SurveyBackend.Core.Services;
public interface IUserService
{
}

View file

@ -7,7 +7,6 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Identity" Version="2.3.1" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.14" />
</ItemGroup>