/// <summary>
        /// Delete Direct all materials of an asset
        /// </summary>
        /// <param name="assetId">assetId</param>
        /// <param name="refId">refId</param>
        /// <param name="companyId">companyId</param>
        /// <returns></returns>
        public bool DeleteDirect(int assetId, int refId, int companyId)
        {
            AssetSewerMaterialGateway assetSewerMaterialGateway = new AssetSewerMaterialGateway(null);
            assetSewerMaterialGateway.Delete(assetId, refId, companyId);

            return true;
        }
        // ////////////////////////////////////////////////////////////////////////
        // PUBLIC METHODS
        //
        /// <summary>
        /// Insert Direct all materials of an asset
        /// </summary>
        /// <param name="assetId">assetId</param>
        /// <param name="refId">refId</param>
        /// <param name="materialType">materialType</param>
        /// <param name="date_">date_</param>
        /// <param name="deleted">deleted</param>
        /// <param name="companyId">companyId</param>
        public bool InsertDirect(int assetId, int refId, string materialType, DateTime date_, bool deleted, int companyId)
        {
            AssetSewerMaterialGateway assetSewerMaterialGateway = new AssetSewerMaterialGateway(null);
            assetSewerMaterialGateway.Insert(assetId, refId, materialType, date_, deleted, companyId);

            return true;
        }
 /// <summary>
 /// Update material (direct to DB)
 /// </summary>
 /// <param name="originalAssetId">originalAssetId</param>
 /// <param name="originalRefId">originalRefId</param>
 /// <param name="originalMaterialType">originalMaterialType</param>
 /// <param name="originalDate">originalDate</param>
 /// <param name="originalCompanyId">originalCompanyId</param>
 /// <param name="originalDeleted">originalDeleted</param>        
 /// 
 /// <param name="newAssetId">newAssetId</param>
 /// <param name="newRefId">newRefId</param>
 /// <param name="newMaterialType">newMaterialType</param>
 /// <param name="newDate">newDate</param>
 /// <param name="newCompanyId">newCompanyId</param>
 /// <param name="newDeleted">newDeleted</param>        
 public void UpdateDirect(int originalAssetId, int originalRefId, string originalMaterialType, DateTime originalDate, int originalCompanyId, bool originalDeleted, int newAssetId, int newRefId, string newMaterialType, DateTime newDate, int newCompanyId, bool newDeleted)
 {
     AssetSewerMaterialGateway assetSewerMaterialGateway = new AssetSewerMaterialGateway(null);
     assetSewerMaterialGateway.Update(originalAssetId, originalRefId, originalMaterialType, originalDate, originalCompanyId, originalDeleted, newAssetId, newRefId, newMaterialType, newDate, newCompanyId, newDeleted);
 }