public static MascaraWCF ConvertMascaraToWcf(BllMascara bllMascara) { MascaraWCF wcfMascara = new MascaraWCF() { Id = bllMascara.Id, Name = bllMascara.Name, Brand = bllMascara.Brand, Price = bllMascara.Price, Color = bllMascara.Color, Volume = bllMascara.Volume, QuantityBottles = bllMascara.QuantityBottles, QuantityGeneralVolume = bllMascara.QuantityGeneralVolume, QuntityCount = bllMascara.QuntityCount }; return(wcfMascara); }
public static BllMascara ConvertMascaraToBll(MascaraWCF wcfMascara) { BllMascara bllMascara = new BllMascara() { Id = wcfMascara.Id, Name = wcfMascara.Name, Brand = wcfMascara.Brand, Price = wcfMascara.Price, Color = wcfMascara.Color, Volume = wcfMascara.Volume, QuantityBottles = wcfMascara.QuantityBottles, QuantityGeneralVolume = wcfMascara.QuantityGeneralVolume, QuntityCount = wcfMascara.QuntityCount }; return(bllMascara); }