public async Task <GeneralSettingResult> SaveAsync(string SessionKey, GeneralSetting Generalsetting) { return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => { var result = await generalSettingProcessor.SaveAsync(Generalsetting, token); return new GeneralSettingResult { ProcessResult = new ProcessResult { Result = true }, GeneralSetting = result, }; }, logger)); }
public async Task <ActionResult <GeneralSetting> > Save(GeneralSetting setting, CancellationToken token) => await generalSettingProcessor.SaveAsync(setting, token);