Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for ResourceConverter class. Now when multiple asynchronous reque…
…sts are executed concurrently the correct responses are returned.
- Loading branch information
1 parent
ec45be6
commit 595195a
Showing
3 changed files
with
92 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
WebApi.Hal.Web/Api/Resources/BeerDetailListRepresentation.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace WebApi.Hal.Web.Api.Resources | ||
{ | ||
public class BeerDetailListRepresentation : PagedRepresentationList<BeerDetailRepresentation> | ||
{ | ||
public BeerDetailListRepresentation(IList<BeerDetailRepresentation> beerDetailList, int totalResults, int totalPages, int page, Link uriTemplate) : | ||
base(beerDetailList, totalResults, totalPages, page, uriTemplate, null) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters