public override AssociationCount AssociatedCount(string payload)
        {
            AssociationCount count = new AssociationCount();

            if (payload != null)
            {
                FuelType deserializedEntry = Serializer.Deserialize <FuelType>(payload);
            }
            return(count);
        }
Exemplo n.º 2
0
        public override AssociationCount AssociatedCount(string payload)
        {
            AssociationCount count = new AssociationCount();

            if (payload != null)
            {
                FuelSystemDesign deserializedEntry = Serializer.Deserialize <FuelSystemDesign>(payload);
                count.FuelDeliveryConfigCount = deserializedEntry.FuelDeliveryConfigCount;
            }
            return(count);
        }
        public override AssociationCount AssociatedCount(string payload)
        {
            AssociationCount count = new AssociationCount();

            if (payload != null)
            {
                BedType deserializedEntry = Serializer.Deserialize <BedType>(payload);
                count.VehicleToBedConfigCount = deserializedEntry.VehicleToBedConfigCount;
            }
            return(count);
        }
        public override AssociationCount AssociatedCount(string payload)
        {
            AssociationCount count = new AssociationCount();

            if (payload != null)
            {
                SubModel deserializedEntry = Serializer.Deserialize <SubModel>(payload);
                count.VehicleCount = deserializedEntry.VehicleCount;
            }
            return(count);
        }
Exemplo n.º 5
0
        public override AssociationCount AssociatedCount(string payload)
        {
            AssociationCount count = new AssociationCount();

            if (payload != null)
            {
                Year deserializedEntry = Serializer.Deserialize <Year>(payload);
                count.BaseVehicleCount = deserializedEntry.BaseVehicleCount;
            }
            return(count);
        }
Exemplo n.º 6
0
        public override AssociationCount AssociatedCount(string payload)
        {
            AssociationCount count = new AssociationCount();

            if (payload != null)
            {
                MfrBodyCode deserializedEntry = Serializer.Deserialize <MfrBodyCode>(payload);
                count.VehicleToMfrBodyCodeCount = deserializedEntry.VehicleToMfrBodyCodeCount;
            }
            return(count);
        }
Exemplo n.º 7
0
        public override AssociationCount AssociatedCount(string payload)
        {
            AssociationCount count = new AssociationCount();

            if (payload != null)
            {
                BodyNumDoors deserializedEntry = Serializer.Deserialize <BodyNumDoors>(payload);
                count.BodyStyleConfigCount          = deserializedEntry.BodyStyleConfigCount;
                count.VehicleToBodyStyleConfigCount = deserializedEntry.VehicleToBodyStyleConfigCount;
            }
            return(count);
        }
        public async Task <AssociationCount> GetAssociatedCount(List <ChangeRequestAssociationInputModel> selectedChangeRequestStagings)
        {
            List <ChangeRequestStaging> associationLookupForSelectedCR = new List <ChangeRequestStaging>();

            selectedChangeRequestStagings.ForEach(x =>
            {
                associationLookupForSelectedCR.Add(new ChangeRequestStaging()
                {
                    Id     = x.Id,
                    Entity = x.Entity
                });
            });
            AssociationCount count = await _changeRequestApplicationService.GetAssociatedCount(associationLookupForSelectedCR);

            return(count);
        }
Exemplo n.º 9
0
        public override AssociationCount AssociatedCount(string payload)
        {
            AssociationCount count = new AssociationCount();

            return(count);
        }