public ViewResult Index(int page = 1)
        {
            var model = _repository.GetAllByPage(page);

            if (model != null)
            {
                ViewBag.Clients  = _repositoryClient.GetAll();
                ViewBag.Requests = _requestService.GetAll();
                if (TempData["response"] != null)
                {
                    ViewBag.Alert = TempData["response"].ToString();
                    ViewBag.Icon  = TempData["Icon"].ToString();
                }
            }
            return(View(model));
        }
        public ViewResult Index(int page = 1)
        {
            try
            {
                var model = _repository.GetAllByPage(page);
                ViewBag.response   = Alerts.Type;
                ViewBag.Action     = "Index";
                ViewBag.Controller = "AccountClient";
                Alerts.Type        = 0;
                return(View(model));
            }
            catch (Exception)
            {
                return(View());

                throw;
            }
        }