public virtual BOProductInventory MapEFToBO( ProductInventory ef) { var bo = new BOProductInventory(); bo.SetProperties( ef.ProductID, ef.Bin, ef.LocationID, ef.ModifiedDate, ef.Quantity, ef.Rowguid, ef.Shelf); return(bo); }
public virtual BOProductInventory MapModelToBO( int productID, ApiProductInventoryRequestModel model ) { BOProductInventory boProductInventory = new BOProductInventory(); boProductInventory.SetProperties( productID, model.Bin, model.LocationID, model.ModifiedDate, model.Quantity, model.Rowguid, model.Shelf); return(boProductInventory); }