private async Task UpdateTransactionCommentAsync(TransactionCommentEditDto input)
        {
            var transactionComment = await _transactionCommentRepository.FirstOrDefaultAsync(c => c.Id == input.Id.Value);

            input.MapTo(transactionComment);

            await SendTransactionCommentPushNotificationAsync(input);
        }
        private async Task <Result> CreateTransactionCommentAsync(TransactionCommentEditDto input)
        {
            try
            {
                var transactionComment = input.MapTo <TransactionComment>();
                await _transactionCommentRepository.InsertAndGetIdAsync(transactionComment);

                return(await SendTransactionCommentPushNotificationAsync(input));
            }
            catch (Exception exception)
            {
                return(Result.Fail(exception.Message));
            }
        }