public void Update(int id, DomainEntityProduct domainEntity) { DbEntityProduct dbEntity = DbEntityProduct.DomainEntityToDbEntity(domainEntity); DaoProduct.Update(id, dbEntity); }
public void Create(DomainEntityProduct domainEntity) { DbEntityProduct dbEntity = DbEntityProduct.DomainEntityToDbEntity(domainEntity); DaoProduct.Create(dbEntity); }