Skip to content

Commit c06fc22

Browse files
committed
Updated 15 version of page
1 parent 0cfeca0 commit c06fc22

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

15/umbraco-forms/developer/working-with-data.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,56 +13,56 @@ The methods can be found by injecting the `Umbraco.Forms.Core.Services.IRecordRe
1313
### GetApprovedRecordsFromPage
1414

1515
```csharp
16-
PagedResult<IRecord> GetApprovedRecordsFromPage(int pageId, int pageNumber, int pageSize)
16+
PagedResult<Record> GetApprovedRecordsFromPage(int pageId, int pageNumber, int pageSize)
1717
```
1818

1919
Returns all records with the state set to approved from all Forms on the Umbraco page with the id = `pageId` .
2020

2121
### GetApprovedRecordsFromFormOnPage
2222

2323
```csharp
24-
PagedResult<IRecord> GetApprovedRecordsFromFormOnPage(int pageId, Guid.Parse("formId"), int pageNumber, int pageSize)
24+
PagedResult<Record> GetApprovedRecordsFromFormOnPage(int pageId, Guid formId, int pageNumber, int pageSize)
2525
```
2626

27-
Returns all records with the state set to approved from the Form with the id = `formId` on the Umbraco page with the id = `pageId` as a `PagedResult<IRecord>`.
27+
Returns all records with the state set to approved from the Form with the id = `formId` on the Umbraco page with the id = `pageId` as a `PagedResult<Record>`.
2828

2929
### GetApprovedRecordsFromForm
3030

3131
```csharp
32-
PagedResult<IRecord> GetApprovedRecordsFromForm(Guid.Parse("formId"), int pageNumber, int pageSize)
32+
PagedResult<Record> GetApprovedRecordsFromForm(Guid formId, int pageNumber, int pageSize)
3333
```
3434

35-
Returns all records with the state set to approved from the Form with the ID = `formId` as a `PagedResult<IRecord>`.
35+
Returns all records with the state set to approved from the Form with the ID = `formId` as a `PagedResult<Record>`.
3636

3737
### GetRecordsFromPage
3838

3939
```csharp
40-
PagedResult<IRecord> GetRecordsFromPage(int pageId, int pageNumber, int pageSize)
40+
PagedResult<Record> GetRecordsFromPage(int pageId, int pageNumber, int pageSize)
4141
```
4242

43-
Returns all records from all Forms on the Umbraco page with the id = `pageId` as a `PagedResult<IRecord>`.
43+
Returns all records from all Forms on the Umbraco page with the id = `pageId` as a `PagedResult<Record>`.
4444

4545
### GetRecordsFromFormOnPage
4646

4747
```csharp
48-
PagedResult<IRecord> GetRecordsFromFormOnPage(int pageId, Guid.Parse("formId"), int pageNumber, int pageSize)
48+
PagedResult<Record> GetRecordsFromFormOnPage(int pageId, Guid formId, int pageNumber, int pageSize)
4949
```
5050

51-
Returns all records from the Form with the id = `formId` on the Umbraco page with the id = `pageId` as a `PagedResult<IRecord>`.
51+
Returns all records from the Form with the id = `formId` on the Umbraco page with the id = `pageId` as a `PagedResult<Record>`.
5252

5353
### GetRecordsFromForm
5454

5555
```csharp
56-
PagedResult<IRecord> GetRecordsFromForm(Guid.Parse("formId"), int pageNumber, int pageSize)
56+
PagedResult<Record> GetRecordsFromForm(Guid formId, int pageNumber, int pageSize)
5757
```
5858

59-
Returns all records from the Form with the ID = formId as a `PagedResult<IRecord>`.
59+
Returns all records from the Form with the ID = formId as a `PagedResult<Record>`.
6060

6161
## The returned objects
6262

63-
All of these methods will return an object of type `PagedResult<IRecord>` so you can iterate through the `IRecord` objects.
63+
All of these methods will return an object of type `PagedResult<Record>` so you can iterate through the `Record` objects.
6464

65-
The properties available on a `IRecord` are:
65+
The properties available on a `Record` are:
6666

6767
```csharp
6868
int Id

0 commit comments

Comments
 (0)