public static Laque ConvertLaqueToDal(LaqueWCF wcfLaque) { Laque laque = new Laque() { Id = wcfLaque.Id, Name = wcfLaque.Name, Brand = wcfLaque.Brand, Price = wcfLaque.Price, Volume = wcfLaque.Volume, QuantityBottles = wcfLaque.QuantityBottles, QuantityGeneralVolume = wcfLaque.QuantityGeneralVolume, QuntityCount = wcfLaque.QuntityCount }; return(laque); }
public static LaqueWCF ConvertLaqueToWcf(BllLaque bllLaque) { LaqueWCF wcfLaque = new LaqueWCF() { Id = bllLaque.Id, Name = bllLaque.Name, Brand = bllLaque.Brand, Price = bllLaque.Price, Volume = bllLaque.Volume, QuantityBottles = bllLaque.QuantityBottles, QuantityGeneralVolume = bllLaque.QuantityGeneralVolume, QuntityCount = bllLaque.QuntityCount }; return(wcfLaque); }