public IActionResult UserChangeRole(UserRoleChangeView view)
        {
            var response = _adminAccount.UserChangeRole(view);

            if (response.isSuccess == false)
            {
                return(null);
            }
            return(Ok(response));
        }
        public IActionResult UserChangeRole(UserRoleChangeView request)
        {
            request.UserId = Convert.ToInt32(HttpContext.Request.Query["userId"].ToString());
            request.Type   = HttpContext.Request.Query["type"].ToString();
            request.Durum  = Convert.ToInt32(HttpContext.Request.Query["durum"].ToString());

            var response = _iAdminAccountService.UserChangeRole(request);

            return(Ok(response));
        }