public bool Update(object obj) { bool blnResult = false; try { strvalidationResult = ValidationEntry(obj); if (strvalidationResult.Count() == 0) { if (objDAL.Update(obj)) { blnResult = true; } } else { throw new Exception(string.Join("<br />", strvalidationResult)); } } catch (Exception) { throw; } return(blnResult); }
public bool Update(object obj) { bool blnResult = false; try { if (objDAL.Update(obj)) { blnResult = true; } } catch (Exception) { throw; } return(blnResult); }