public static BalsamWCF ConvertBalsamToWCF(Balsam Balsam) { BalsamWCF wcfBalsam = new BalsamWCF() { Name = Balsam.Name, Brand = Balsam.Brand, Price = Balsam.Price, QuantityBottles = Balsam.QuantityBottles, QuantityGeneralVolume = Balsam.QuantityGeneralVolume, Volume = Balsam.Volume, Id = Balsam.Id, QuntityCount = Balsam.QuntityCount }; return(wcfBalsam); }
public static Balsam ConvertBalsamToDAL(BalsamWCF wcfBalsam) { Balsam balsam = new Balsam() { Name = wcfBalsam.Name, Brand = wcfBalsam.Brand, Price = wcfBalsam.Price, QuantityBottles = wcfBalsam.QuantityBottles, QuantityGeneralVolume = wcfBalsam.QuantityGeneralVolume, Volume = wcfBalsam.Volume, Id = wcfBalsam.Id, QuntityCount = wcfBalsam.QuntityCount }; return(balsam); }
public static BllBalsam ConvertBalsamToBll(BalsamWCF Balsam) { BllBalsam bllBalsam = new BllBalsam() { Name = Balsam.Name, Brand = Balsam.Brand, Price = Balsam.Price, QuantityBottles = Balsam.QuantityBottles, QuantityGeneralVolume = Balsam.QuantityGeneralVolume, Volume = Balsam.Volume, Id = Balsam.Id, QuntityCount = Balsam.QuntityCount }; return(bllBalsam); }