public IActionResult GetUser(string name) { try { var user = _signService.GetUser(name); return(new OkObjectResult(user)); } catch (Exception ex) { return(NotFound(ex.Message)); } }