public async Task <IActionResult> Register([FromBody] UserLoginRequest request) { if (!ModelState.IsValid) { return(BadRequest("Invalid payload")); } await _authService.AddLogin(request.Username, request.Password); return(Ok()); }