public virtual BOSale MapModelToBO( int id, ApiSaleRequestModel model ) { BOSale boSale = new BOSale(); boSale.SetProperties( id, model.Amount, model.ClientId, model.Note, model.PetId, model.SaleDate, model.SalesPersonId); return(boSale); }
public virtual BOSale MapModelToBO( int id, ApiSaleRequestModel model ) { BOSale boSale = new BOSale(); boSale.SetProperties( id, model.Amount, model.ClientId, model.Note, model.PetId, model.SaleDate, model.SalesPersonId); return(boSale); }