public async Task <ActionResult <TokenResponse> > GetTokenAsync(LoginRequest body) { return(Ok((new TokenResponse()).ToJson())); //return BadRequest("WTF"); //throw new NotImplementedException(); }
public System.Threading.Tasks.Task <Microsoft.AspNetCore.Mvc.ActionResult <TokenResponse> > GetToken([Microsoft.AspNetCore.Mvc.FromBody] LoginRequest body) { return(_implementation.GetTokenAsync(body)); }