Пример #1
0
        public string GetUrl()
        {
            var url = _endpointService.EndpointFor(new GridRequest <T>()).Url;

            url += GetQuerystring();

            return(url);
        }
Пример #2
0
 public RenderPartialExpression <TViewModel> RequiresAccessTo <TController>(Expression <Action <TController> > endpoint)
 {
     if (_isAuthorized)
     {
         _isAuthorized = _endpointService.EndpointFor(endpoint).IsAuthorized;
     }
     return(this);
 }
Пример #3
0
 public virtual string Url()
 {
     return(_endpointService
            .EndpointFor(inputModel())
            .Url);
 }