public GetPackageArrangementsResponse GetPackageArrangements(GetPackageArrangementsRequest request)
        {
            AdministrationServiceDAO adminDAO = new AdministrationServiceDAO();

            arrangement_package[] result = adminDAO.GetPackageArrangments(request.date_from, request.date_to);
            return(new GetPackageArrangementsResponse(result));
        }
Beispiel #2
0
        public GetPackageArrangementsResponse GetPackageArrangements(GetPackageArrangementsRequest request)
        {
            AdministrationServiceDAO adminDAO = new AdministrationServiceDAO();

            arrangement_package[] result = adminDAO.GetPackageArrangments(request.date_from, request.date_to);
            if (result != null)
            {
                return(new GetPackageArrangementsResponse(result));
            }
            else
            {
                // TODO: throw DB exception
                return(null);
            }
        }