public ActionResult Edit(ServiceCategoryViewModel viewModel)
        {
            try
            {
                if (ModelState.IsValid)
                {
                    var entity = Mapper.Map <ServiceCategoryViewModel, ServiceCategory>(viewModel);

                    _categoryService.Update(entity);

                    viewModel.Locales.ToList().ForEach(l =>
                    {
                        _localizedEntityService.SaveLocalizedValue(entity, e => e.Name, l.Name, l.LanguageId);
                        _localizedEntityService.SaveLocalizedValue(entity, e => e.Content, l.Content, l.LanguageId);
                    });
                }
            }
            catch (Exception e)
            {
                ModelState.AddModelError("", e.Message);

                return(View(viewModel));
            }

            return(RedirectToAction("Index"));
        }