Add domain project and update references

This commit is contained in:
Aaron Po
2026-02-11 00:23:13 -05:00
parent 2b0f9876bc
commit c74b20079b
24 changed files with 110 additions and 77 deletions

View File

@@ -1,4 +1,4 @@
using Repository.Core.Entities;
using Domain.Core.Entities;
using Repository.Core.Repositories.Auth;
using Service.Core.Password;

View File

@@ -1,4 +1,4 @@
using Repository.Core.Entities;
using Domain.Core.Entities;
namespace Service.Core.Auth;
@@ -6,4 +6,4 @@ public interface IAuthService
{
Task<UserAccount> RegisterAsync(UserAccount userAccount, string password);
Task<UserAccount?> LoginAsync(string username, string password);
}
}

View File

@@ -11,6 +11,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Domain\Domain.Core\Domain.Core.csproj" />
<ProjectReference Include="..\..\Repository\Repository.Core\Repository.Core.csproj" />
</ItemGroup>
</Project>

View File

@@ -1,4 +1,4 @@
using Repository.Core.Entities;
using Domain.Core.Entities;
namespace Service.Core.User;
@@ -8,4 +8,4 @@ public interface IUserService
Task<UserAccount?> GetByIdAsync(Guid id);
Task UpdateAsync(UserAccount userAccount);
}
}

View File

@@ -1,4 +1,4 @@
using Repository.Core.Entities;
using Domain.Core.Entities;
using Repository.Core.Repositories.UserAccount;
namespace Service.Core.User;
@@ -19,4 +19,4 @@ public class UserService(IUserAccountRepository repository) : IUserService
{
await repository.UpdateAsync(userAccount);
}
}
}