public Lipstick ConvertLipstickToDTO(BllLipstick bllLipstick) { Lipstick dTOLipstick = new Lipstick() { Id = bllLipstick.Id, Name = bllLipstick.Name, Brand = bllLipstick.Brand, Price = bllLipstick.Price, Color = bllLipstick.Color, Volume = bllLipstick.Volume, QuantityBottles = bllLipstick.QuantityBottles, QuantityGeneralVolume = bllLipstick.QuantityGeneralVolume, Description = bllLipstick.Description, QuntityCount = bllLipstick.QuntityCount }; return(dTOLipstick); }
public BllLipstick ConvertLipstickToBLL(Lipstick dTOLipstick) { BllLipstick bllLipstick = new BllLipstick() { Id = dTOLipstick.Id, Name = dTOLipstick.Name, Brand = dTOLipstick.Brand, Price = dTOLipstick.Price, Color = dTOLipstick.Color, Volume = dTOLipstick.Volume, QuantityBottles = dTOLipstick.QuantityBottles, QuantityGeneralVolume = dTOLipstick.QuantityGeneralVolume, Description = dTOLipstick.Description, QuntityCount = dTOLipstick.QuntityCount }; return(bllLipstick); }