public ActionResult Update(Bam.Net.CoreServices.ApplicationRegistration.Data.Dao.HostDomain dao) { try { dao.Save(); return(Json(new { Success = true, Message = "", Dao = dao.ToJsonSafe() })); } catch (Exception ex) { return(GetErrorResult(ex)); } }