public DeletePackageArrangementsResponse DeletePackageArrangements(DeletePackageArrangementsRequest request) { AdministrationServiceDAO adminDAO = new AdministrationServiceDAO(); bool result = adminDAO.DeletePackageArrangments(request.package_arrangements); return(new DeletePackageArrangementsResponse(result)); }
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); } }