public IList <TblRegisterMessrs> GetRegisterMessr() { try { return(receipt.GetRegisterMessr()); } catch (Exception ex) { StaticHelper.LogException(path: up.GetLogFilePath(), errorMessage: ex.Message, methodName: $"Class Name: {nameof(ReceiptPresenter)} - Method name: {nameof(GetRegisterMessr)}", stackTrace: ex.StackTrace); return(null); } }