public async Task <CountResult> GetMaxOutputNoAsync(string SessionKey, int companyId) { return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => { var result = await reminderProcessor.GetMaxOutputNoAsync(companyId, token); return new CountResult { ProcessResult = new ProcessResult() { Result = true }, Count = result, }; }, logger)); }
public async Task <int> GetMaxOutputNo([FromBody] int companyId, CancellationToken token) => await reminderProcessor.GetMaxOutputNoAsync(companyId, token);