public int CreateNewRole(TblEmployeeRole model) { try { return(employee.CreateRole(model)); } catch (Exception ex) { StaticHelper.LogException(path: up.GetLogFilePath(), errorMessage: ex.Message, methodName: $"Class Name: {nameof(EmployeePresenter)} - Method name: {nameof(CreateNewRole)}", stackTrace: ex.StackTrace); return(0); } }