public ActionResult UpdateUser(UserRegister user) { var response = _userService.Register(user, user.GetType().Name) as UserModelResponse; return(Ok(APIResponse.CreateResponse(_jwtAuthentication.Value, _httpContextAccessor.HttpContext.Request, response))); }