Exemple #1
0
        public async Task <PackageDto> AddPackage(PackageDto package, PackageIncludesDto packageIncludes)
        {
            Task <PackageDto> packageDto;

            lock (obj)
            {
                packageDto = packageManager.AddPackageDto(package, packageIncludes);
            }
            return(await packageDto);
        }