public ActionResult SaveItem(ItemViewModel itemViewModel) { bool isSuccess = false; if (ModelState.IsValid) { try { ItemDomainDTO dto = new ItemDomainDTO(); AutoMapper.Mapper.Map(itemViewModel, dto); isSuccess = _itemBusiness.SaveItem(dto, UserId, OrgId); } catch (Exception ex) { isSuccess = false; } } return(Json(isSuccess)); }