public static LipstickWCF ConvertLipstickTowcf(BllLipstick bllLipstick) { LipstickWCF wcfLipstick = new LipstickWCF() { 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(wcfLipstick); }
public static BllLipstick ConvertLipstickToBLL(LipstickWCF wcfLipstick) { BllLipstick bllLipstick = new BllLipstick() { Id = wcfLipstick.Id, Name = wcfLipstick.Name, Brand = wcfLipstick.Brand, Price = wcfLipstick.Price, Color = wcfLipstick.Color, Volume = wcfLipstick.Volume, QuantityBottles = wcfLipstick.QuantityBottles, QuantityGeneralVolume = wcfLipstick.QuantityGeneralVolume, Description = wcfLipstick.Description, QuntityCount = wcfLipstick.QuntityCount }; return(bllLipstick); }