public Shampoo ConvertShampooToDTO(BllShampoo bllShampoo) { Shampoo dTOShampoo = new Shampoo() { Id = bllShampoo.Id, Name = bllShampoo.Name, Brand = bllShampoo.Brand, Price = bllShampoo.Price, Volume = bllShampoo.Volume, QuantityBottles = bllShampoo.QuantityBottles, QuantityGeneralVolume = bllShampoo.QuantityGeneralVolume, Description = bllShampoo.Description, QuntityCount = bllShampoo.QuntityCount }; return(dTOShampoo); }
public BllShampoo ConvertShampoToBLL(Shampoo dTOShampoo) { BllShampoo bllShampoo = new BllShampoo() { Id = dTOShampoo.Id, Name = dTOShampoo.Name, Brand = dTOShampoo.Brand, Price = dTOShampoo.Price, Volume = dTOShampoo.Volume, QuantityBottles = dTOShampoo.QuantityBottles, QuantityGeneralVolume = dTOShampoo.QuantityGeneralVolume, Description = dTOShampoo.Description, QuntityCount = dTOShampoo.QuntityCount }; return(bllShampoo); }