예제 #1
0
        public Clothing SelectClothingLogicMap(clothingBLO _SelectClothingLogic)
        {
            Clothing LogicToReturn = new Clothing();

            {
                Clothing _clothingLogicView = new Clothing();
                _clothingLogicView.Clothing_ID         = _SelectClothingLogic.Clothing_ID;
                _clothingLogicView.TypeOFClothing      = _SelectClothingLogic.TypeOFClothing;
                _clothingLogicView.ClothingDescription = _SelectClothingLogic.ClothingDescription;
                _clothingLogicView.Sizes            = _SelectClothingLogic.Sizes;
                _clothingLogicView.ClothingPrice    = _SelectClothingLogic.ClothingPrice;
                _clothingLogicView.ClothingName     = _SelectClothingLogic.ClothingName;
                _clothingLogicView.ClothingQuantity = _SelectClothingLogic.ClothingQuantity;
            }
            return(LogicToReturn);
        }
예제 #2
0
        public clothingBLO SingleClothingLogicMap(Clothing _SingleClothingLogic)
        {
            clothingBLO LogicToReturn = new clothingBLO();

            {
                clothingBLO _clothingLogicView = new clothingBLO();
                _clothingLogicView.Clothing_ID         = _SingleClothingLogic.Clothing_ID;
                _clothingLogicView.TypeOFClothing      = _SingleClothingLogic.TypeOFClothing;
                _clothingLogicView.ClothingDescription = _SingleClothingLogic.ClothingDescription;
                _clothingLogicView.Sizes            = _SingleClothingLogic.Sizes;
                _clothingLogicView.ClothingPrice    = _SingleClothingLogic.ClothingPrice;
                _clothingLogicView.ClothingName     = _SingleClothingLogic.ClothingName;
                _clothingLogicView.ClothingQuantity = _SingleClothingLogic.ClothingQuantity;
            }
            return(LogicToReturn);
        }