Ejemplo n.º 1
0
 public ActionResult Refresh([FromBody] LoginRefreshInVO vo)
 {
     if (vo == null)
     {
         return(BadRequest("No inputs"));
     }
     try
     {
         var _result = _loginBusiness
                       .Refresh(vo.AccessToken, vo.RefreshToken)
                       .CreateVO <Token, LoginRefreshOutVO>()
         ;
         return(Ok(_result));
     }
     catch (Exception ex)
     {
         return(this.ReturnActionResult(ex));
     }
 }