private UserViewModel GetUserViewModel(string whereCondition, int?page)
        {
            UserViewModel userListViewModel         = new UserViewModel();
            PagingInfo <UserDomainModel> userPaging = null;

            var userList   = _userLogic.GetUserByWhereCondition(whereCondition);
            var enumerable = userList as IList <User> ?? userList.ToList();

            if (enumerable.Any())
            {
                var listmodel = new List <UserDomainModel>();
                foreach (var user in enumerable)
                {
                    var usermodel = new UserDomainModel();
                    ConvertModel.ConvertMoudle(user, usermodel);
                    listmodel.Add(usermodel);
                }
                userPaging = new PagingInfo <UserDomainModel>(PageSize, listmodel)
                {
                    PageIndex = page ?? 1
                };
                userListViewModel.Users = userPaging.GetPagingData();
            }

            userListViewModel.PagingInfo = userPaging;
            userListViewModel.User       = new UserDomainModel();
            return(userListViewModel);
        }