public Task <RedirectRule> AddRedirectAsync(AddRedirectRuleCommand command) { return(api.PostAsync <AddRedirectRuleCommand, RedirectRule>(GetSiteRedirectsPath(), command)); }
public async Task <int> AddAsync(AddRedirectRuleCommand command) { await ExtendableContentRepository.ExecuteCommandAsync(command); return(command.OutputRedirectRuleId); }