public UpdatePackageArrangementsResponse UpdatePackageArrangements(UpdatePackageArrangementsRequest request)
        {
            AdministrationServiceDAO adminDAO = new AdministrationServiceDAO();
            bool result = adminDAO.UpdatePackageArrangements(request.package_arrangements);

            return(new UpdatePackageArrangementsResponse(result));
        }
Пример #2
0
        public UpdatePackageArrangementsResponse UpdatePackageArrangements(UpdatePackageArrangementsRequest request)
        {
            AdministrationServiceDAO adminDAO = new AdministrationServiceDAO();
            bool result = adminDAO.UpdatePackageArrangements(request.package_arrangements);

            if (result)
            {
                return(new UpdatePackageArrangementsResponse(result));
            }
            else
            {
                ThrowNotFoundException(request.package_arrangements.id);
                return(null);
            }
        }