コード例 #1
0
 public Task <RedirectRule> AddRedirectAsync(AddRedirectRuleCommand command)
 {
     return(api.PostAsync <AddRedirectRuleCommand, RedirectRule>(GetSiteRedirectsPath(), command));
 }
コード例 #2
0
        public async Task <int> AddAsync(AddRedirectRuleCommand command)
        {
            await ExtendableContentRepository.ExecuteCommandAsync(command);

            return(command.OutputRedirectRuleId);
        }