public async Task <IgnoreKanaResult> SaveAsync(string sessionKey, IgnoreKana kana) { return(await authorizationProcessor.DoAuthorizeAsync(sessionKey, async token => { var result = await ignoreKanaProcessor.SaveAsync(kana, token); return new IgnoreKanaResult { ProcessResult = new ProcessResult { Result = true }, IgnoreKana = result, }; }, logger)); }
public async Task <ActionResult <IgnoreKana> > Save(IgnoreKana kana, CancellationToken token) => await ignoreKanaProcessor.SaveAsync(kana, token);