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