コード例 #1
0
        public DeletePackageArrangementsResponse DeletePackageArrangements(DeletePackageArrangementsRequest request)
        {
            AdministrationServiceDAO adminDAO = new AdministrationServiceDAO();
            bool result = adminDAO.DeletePackageArrangments(request.package_arrangements);

            return(new DeletePackageArrangementsResponse(result));
        }
コード例 #2
0
        public DeletePackageArrangementsResponse DeletePackageArrangements(DeletePackageArrangementsRequest request)
        {
            AdministrationServiceDAO adminDAO = new AdministrationServiceDAO();
            bool result = adminDAO.DeletePackageArrangments(request.id);

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