public static ShadowsWCF ConvertShadowToWcf(BllShadows bllShadows) { ShadowsWCF wcfShadows = new ShadowsWCF() { Id = bllShadows.Id, Name = bllShadows.Name, Brand = bllShadows.Brand, Price = bllShadows.Price, Volume = bllShadows.Volume, QuantityBottles = bllShadows.QuantityBottles, QuantityGeneralVolume = bllShadows.QuantityGeneralVolume, Color = bllShadows.Color, QuntityCount = bllShadows.QuntityCount }; return(wcfShadows); }
public static BllShadows ConvertShadowToBll(ShadowsWCF wcfShadows) { BllShadows bllShadows = new BllShadows() { Id = wcfShadows.Id, Name = wcfShadows.Name, Brand = wcfShadows.Brand, Price = wcfShadows.Price, Volume = wcfShadows.Volume, QuantityBottles = wcfShadows.QuantityBottles, QuantityGeneralVolume = wcfShadows.QuantityGeneralVolume, Color = wcfShadows.Color, QuntityCount = wcfShadows.QuntityCount }; return(bllShadows); }