public Guid AuthenticateUser(UserLoginDTO loginDto) { UserAccount account; var result = coreService.Authenticate(loginDto.Username, loginDto.Password, out account); if (!result) { Debug.WriteLine($"Failed to authenticate user: {loginDto.Username}"); return(Guid.Empty); } return(account.ID); }