Пример #1
0
        /// <summary>
        /// Releases a package
        /// </summary>
        public void ReleasePackage(NewPackageDTO newPackageDTO)
        {
            // create the studentDTO for persistence and populate its properties
            PackageDTO packageDTO = new PackageDTO()
            {
                TrackingID  = newPackageDTO.TrackingID,
                Releasetime = newPackageDTO.Releasetime
            };

            _packageDAO.ReleasePackage(packageDTO);
        }