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