public FacilityCompositeAssignedCustomerDto GetLenAssignment(string dpiRegion, string switchCLLI, string switchOffice, string len)
        {
            var compositeCustomerInfo = new FacilityCompositeAssignedCustomerDto();
            var request = new GetLenAssignmentRequest
            {
                DpiRegion = dpiRegion,
                Len = len,
                SwitchCLLI = switchCLLI,
                SwitchOffice = switchOffice
            };

            try
            {
                //TODO: This will change. Right now the service only returns the customer information in traid.
                //TODO: Currently line card status is added as an extra property but, in future revision the response obj will look different.
                //TODO: The future version should contain the customer information from DPI as well as traid and the line card status.
                var customerInfoInTriad = _facilityService.GetLenAssignment(request).AssignedCustomer;
                compositeCustomerInfo.TriadDetailsOfAssignedCustomer = TypeAdapter.Adapt<AssignedCustomer,FacilityAssignedCustomerDto>(customerInfoInTriad);
            }
            catch (FaultException<ValidationFault> fault)
            {
                throw new FaultException<ValidationFaultDto>(TypeAdapter.Adapt<ValidationFault, ValidationFaultDto>(fault.Detail));
            }

            return compositeCustomerInfo;
        }
 public FacilityCompositeAssignedCustomerDto GetTerminalPairAssignment(string cableName, string cableOffice, string dpiRegion, string port)
 {
     var compositeCustomerInfo = new FacilityCompositeAssignedCustomerDto();
     var request = new GetTerminalPairAssignmentRequest
     {
         CableName = cableName,
         CableOffice = cableOffice,
         DpiRegion = dpiRegion,
         Pair = Int32.Parse(port)
     };
     try
     {
         var assignedCustomer = _facilityService.GetTerminalPairAssignment(request).AssignedCustomer;
         compositeCustomerInfo.TriadDetailsOfAssignedCustomer = TypeAdapter.Adapt<AssignedCustomer, FacilityAssignedCustomerDto>(assignedCustomer);
     }
     catch (FaultException<ValidationFault> fault)
     {
         throw new FaultException<ValidationFaultDto>(TypeAdapter.Adapt<ValidationFault, ValidationFaultDto>(fault.Detail));
     }
     return compositeCustomerInfo;
 }