public NailTop ConvertTopToDTO(BllNailTop bllNailTop) { NailTop dTONailTop = new NailTop() { Id = bllNailTop.Id, Name = bllNailTop.Name, Brand = bllNailTop.Brand, Price = bllNailTop.Price, Volume = bllNailTop.Volume, QuantityBottles = bllNailTop.QuantityBottles, QuantityGeneralVolume = bllNailTop.QuantityGeneralVolume, QuntityCount = bllNailTop.QuntityCount }; return(dTONailTop); }
public BllNailTop ConvertTopTOBLL(NailTop dTONailTop) { BllNailTop bllNailTop = new BllNailTop() { Id = dTONailTop.Id, Name = dTONailTop.Name, Brand = dTONailTop.Brand, Price = dTONailTop.Price, Volume = dTONailTop.Volume, QuantityBottles = dTONailTop.QuantityBottles, QuantityGeneralVolume = dTONailTop.QuantityGeneralVolume, QuntityCount = dTONailTop.QuntityCount }; return(bllNailTop); }