public ActionResult ApiUsers(ApiUserSearchViewModel viewModel)
        {
            var response = _adminMediator.SearchApiUsers(viewModel);

            ModelState.Clear();

            switch (response.Code)
            {
            case AdminMediatorCodes.SearchApiUsers.FailedValidation:
                response.ValidationResult.AddToModelState(ModelState, "SearchViewModel");
                return(View(response.ViewModel));

            case AdminMediatorCodes.SearchApiUsers.Ok:
                return(View(response.ViewModel));

            default:
                throw new InvalidMediatorCodeException(response.Code);
            }
        }