public int UpdateRegisterMessr(TblRegisterMessrs model) { try { return(receipt.UpdateRegisterMessr(model)); } catch (Exception ex) { StaticHelper.LogException(path: up.GetLogFilePath(), errorMessage: ex.Message, methodName: $"Class Name: {nameof(ReceiptPresenter)} - Method name: {nameof(UpdateRegisterMessr)}", stackTrace: ex.StackTrace); return(0); } }