public ActionResult _AddManufacturer(ManufacturerVM mManufacturerVm) { if (ModelState.IsValid) { var man = new Manufacturer(); if (TryUpdateModel(man)) { if (ExecuteRepositoryAction(() => { _svc.AddManufacturer(man); _svc.CommitChanges(); })) { return(ReturnJsonFormSuccess()); } } } return(PartialView("Edit", mManufacturerVm)); }