Example #1
0
        public ActionResult Edit(int id)
        {
            var client = _clientRepository.GetById(id);

            if (client == null)
            {
                return(RedirectToAction("Index"));
            }

            InitializeListFilter();
            return(View(ClientModel.ConvertFromEntity(client)));
        }