Esempio n. 1
0
 public async Task <IActionResult> MicrosoftGraph([FromBody] CredentialsDTO accessToken)
 {
     return(new OkObjectResult(await _loginUserUseCase.Execute(accessToken.AccessToken)));
 }
Esempio n. 2
0
 public async Task <IActionResult> Hoshin([FromBody] CredentialsDTO credentials)
 {
     return(new OkObjectResult(await _loginUserUseCase.Execute(credentials.UserName, credentials.Password, credentials.IsLocked)));
 }