It works: client service + server service + utility service to know server uri when app is running

This commit is contained in:
2026-01-28 22:34:01 +01:00
parent a74065f768
commit fc8d59ae12
7 changed files with 125 additions and 9 deletions

View File

@@ -4,12 +4,12 @@ namespace Sandbox.Services.AuthService;
public class AuthService : IAuthService
{
public async Task<ServiceResponse<int>> Register(string userName, string password)
public async Task<ServiceResponse<int>> Register(UserRegister userRegister)
{
return new ServiceResponse<int>
{
Data = 1,
Message = $"Got register request with user name {userName}",
Message = $"Got register request with e-mail {userRegister.Email}",
Success = true
};
}