Exemplo n.º 1
0
        public static InventorySM Map(InventoryVM human)
        {
            InventorySM User = new InventorySM();

            User.inventoryName  = human.inventoryName;
            User.inventoryPrice = human.inventoryPrice;
            User.inventoryStock = human.inventoryStock;
            User.inventoryID    = human.inventoryID;
            return(User);
        }
Exemplo n.º 2
0
        public static InventoryVM Map(InventorySM human) //Find a way to Map from one List to another List each object
        {
            InventoryVM User = new InventoryVM();

            User.inventoryName  = human.inventoryName;
            User.inventoryPrice = human.inventoryPrice;
            User.inventoryStock = human.inventoryStock;
            User.inventoryID    = human.inventoryID;
            return(User);
        }