public ActionResult Delete(TerritoryDto item)
 {
     using(_conversation.SetAsCurrent())
     {
         Territory itemMapped = _mapper.Map<TerritoryDto, Territory>(item);
         _repository.Delete(itemMapped);
         _conversation.Flush();
         return Json(new{ success = true });
     }
 }
 public ActionResult Create(TerritoryDto item)
 {
     using(_conversation.SetAsCurrent())
     {
         Territory itemMapped = _mapper.Map<TerritoryDto, Territory>(item);
         ValidationHelpers.AddErrorsToModelState(ModelState, _validator.Validate(itemMapped), "item");
         if(ModelState.IsValid)
         {
             _repository.Create(itemMapped);
             _conversation.Flush();
         }
         return Json(new{ success = true });
     }
 }