public async Task <IActionResult> Logout(TokenDto token) { await authRepo.Logout(token); return(Ok()); }
public IActionResult Refresh(TokenDto tokenDto) { var response = authRepo.Refresh(tokenDto); return(Ok(response)); }