public static bool AddVoucherTemplate(VoucherTemplateDto voucherTemplate)
        {
            try
            {
                var entity = new tVoucherTemplate
                {
                    CompanyId     = voucherTemplate.CompanyId,
                    CreditAccount = voucherTemplate.CreditAccountCode,
                    DebitAccount  = voucherTemplate.DebitAccountCode,
                    Narration     = voucherTemplate.Narration,
                    ShortCode     = voucherTemplate.ShortCode,
                };
                var result = AccountingDataProvider.AddVoucherTemplate(entity);

                if (result == 1)
                {
                    return(true);
                }
                return(false);
            }
            catch (Exception exception)
            {
                throw new Exception(exception.Message);
            }
        }