public static IOBalanceEntity.ProductLog DtoToEntity(this ProductLogDto dto) { IOBalanceEntity.ProductLog entity = null; if (!dto.IsNull()) { entity = new IOBalanceEntity.ProductLog { RecID = dto.RecId, ProductID = dto.ProductId, Quantity = dto.Quantity, Price = dto.Price, UnitID = dto.UnitID, CategoryID = dto.CategoryID }; } return(entity); }
private bool SaveProductLog(ProductLogDto dto) { return(true); }