private bool InsertBranchRole(string branchCode) { try { BranchBiz.InsertBranchRole(branchCode); return(true); } catch (Exception ex) { string message = ex.InnerException != null ? ex.InnerException.Message : ex.Message; _log.Error($"InsertBranchRole failed, Error={message}"); return(false); } }