mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Replaced built-in valuetypes with language keywords.
This commit is contained in:
parent
d6a135857d
commit
ccfa13e383
454 changed files with 2042 additions and 2042 deletions
|
@ -214,11 +214,11 @@ namespace NzbDrone.Api.REST
|
|||
private PagingResource<TResource> ReadPagingResourceFromRequest()
|
||||
{
|
||||
int pageSize;
|
||||
Int32.TryParse(Request.Query.PageSize.ToString(), out pageSize);
|
||||
int.TryParse(Request.Query.PageSize.ToString(), out pageSize);
|
||||
if (pageSize == 0) pageSize = 10;
|
||||
|
||||
int page;
|
||||
Int32.TryParse(Request.Query.Page.ToString(), out page);
|
||||
int.TryParse(Request.Query.Page.ToString(), out page);
|
||||
if (page == 0) page = 1;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue