public async Task <ResponseBaseViewModel <DeleteCorpAduitConfigResponseViewModel> > DeleteCorpAduitConfig(
            [FromBody] DeleteCorpAduitConfigRequestViewModel request)
        {
            request.Cid = this.GetCid();
            DeleteCorpAduitConfigResponseViewModel viewModel = new DeleteCorpAduitConfigResponseViewModel();

            await new TaskFactory().StartNew(() =>
            {
                viewModel = _deleteCorpAduitConfigApplication.DeleteCorpAduitConfig(request);
            });

            ResponseBaseViewModel <DeleteCorpAduitConfigResponseViewModel> v = new ResponseBaseViewModel
                                                                               <DeleteCorpAduitConfigResponseViewModel>
            {
                Flag = new ResponseCodeViewModel()
                {
                    Code = 0, MojoryToken = this.GetToken()
                },
                Data = viewModel
            };

            return(v);
        }
        public DeleteCorpAduitConfigResponseViewModel DeleteCorpAduitConfig(DeleteCorpAduitConfigRequestViewModel request)
        {
            bool flag = false;

            using (var transaction = this.Context.Database.BeginTransaction())
            {
                try
                {
                    flag = _editCorpAduitConfigServiceBll.DeleteCorpAduitConfig(request.ConfigIdList);
                    transaction.Commit();
                }
                catch (Exception ex)
                {
                    transaction.Rollback();
                    throw;
                }
            }

            return(new DeleteCorpAduitConfigResponseViewModel()
            {
                IsSuccessed = flag
            });
        }