public async Task <ExistResult> ExistAsync(int Id, string SessionKey)
        {
            return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
            {
                var result = await customerPaymentContractProcessor.ExistCategoryAsync(Id, token);

                return new ExistResult
                {
                    ProcessResult = new ProcessResult {
                        Result = true
                    },
                    Exist = result,
                };
            }, logger));
        }
 public async Task <bool> ExistCategory([FromBody] int categoryId, CancellationToken token)
 => await customerPaymentContractProcessor.ExistCategoryAsync(categoryId, token);