public async Task EditAsync(EditApplicationInfoModel model)
        {
            if (await _applicationInfoRepository.ExistedAsync(m => m.ID != model.ID && m.Name == model.Name && m.ApplicationType == model.ApplicationType))
            {
                throw new DeployException("名称重复");
            }
            ApplicationInfo applicationInfoFromDB = await _applicationInfoRepository.FirstOrDefaultAsync(m => m.ID == model.ID);

            if (applicationInfoFromDB == null)
            {
                throw new DeployException("应用程序不存在");
            }
            model.CopyProperties(applicationInfoFromDB);
            applicationInfoFromDB.UpdateTime = DateTime.Now;
            _deploySqliteEFUnitOfWork.RegisterEdit(applicationInfoFromDB);
            var applicationInfoModel = _mapper.Map <ApplicationInfoModel>(applicationInfoFromDB);

            _applicationManage.Edit(applicationInfoModel);
            await _deploySqliteEFUnitOfWork.CommitAsync();
        }