//map data from the selected item in the ViewUsers view
        public static void ChangeUserRole(string userId, int?roleId, string username, string email)
        {
            UserModel data = new UserModel
            {
                UserId   = userId,
                RoleId   = roleId,
                UserName = username,
                Email    = email
            };

            //alter role using sql
            SqlDataAccess.SaveUserRole(data);
        }