Пример #1
0
        public async Task <PartialViewResult> GetAllWithFilter(GetAllUserWithFilterViewModel input)
        {
            var filter       = ObjectMapper.Map <UserInfoDto>(input);
            var filterResult = await _userAppService.GetAllUserAsync(new GetAllUserInput()
            {
                Filter         = filter,
                MaxResultCount = input.MaxResultCount,
                SkipCount      = input.SkipCount
            });

            return(PartialView("User/GetAllUserPartial/_UserTable", new IndexViewModel()
            {
                Users = filterResult,
                CurrentUserFilter = input
            }));
        }