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