private string CreateTaskResourceUri( TaskResourceParameters parameters, ResourceUriType type) { var _urlHelper = new UrlHelper(Request); int pageAdjustment = type.GetPageAdjustment(); return(Url.Link("GetTasks", new { searchQuery = parameters.SearchQuery, name = parameters.Name, pageNumber = parameters.PageNumber + pageAdjustment, pageSize = parameters.PageSize, orderBy = parameters.OrderBy })); }
private string CreateResourceUri( ResolverResourceParameters parameters, ResourceUriType type) { var _urlHelper = new UrlHelper(Request); int pageAdjustment = type.GetPageAdjustment(); return(Url.Link("GetDocumentTypeResolvers", new { searchQuery = parameters.SearchQuery, name = parameters.Name, pageNumber = parameters.PageNumber + pageAdjustment, pageSize = parameters.PageSize, orderBy = parameters.OrderBy, description = parameters.Description, value = parameters.Value })); }
private string CreateResourceUri( TradingPartnerResourceParameters parameters, ResourceUriType type) { var _urlHelper = new UrlHelper(Request); int pageAdjustment = type.GetPageAdjustment(); return(Url.Link("GetTradingPartners", new { searchQuery = parameters.SearchQuery, name = parameters.Name, pageNumber = parameters.PageNumber + pageAdjustment, pageSize = parameters.PageSize, orderBy = parameters.OrderBy, description = parameters.Description, identifier = parameters.Identifier, propertyName = parameters.PropertyName, propertyValue = parameters.PropertyValue, qualifier = parameters.Qualifier })); }