Ejemplo n.º 1
0
        /// <summary>
        /// Справочник подписантов Акты Извещения Решения
        /// </summary>
        /// <returns></returns>
        public async Task <string> AllSenderTaxJournal()
        {
            SelectAllObjectDb select = new SelectAllObjectDb();

            return(await Task.Factory.StartNew(() =>
            {
                var senderDepartment = select.AllSenderDepartment();
                select.Dispose();
                return senderDepartment;
            }));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Все подписанты в БД
        /// </summary>
        /// <returns></returns>
        public async Task <string> AllSender()
        {
            SelectAllObjectDb select = new SelectAllObjectDb();

            return(await Task.Factory.StartNew(() =>
            {
                var sender = select.AllSender();
                select.Dispose();
                return sender;
            }));
        }