// //////////////////////////////////////////////////////////////////////// // PUBLIC METHODS // /// <summary> /// InsertDirect /// </summary> /// <param name="assetId">assetId</param> /// <param name="deleted">deleted</param> /// <param name="companyId">companyId</param> public void InsertDirect(int assetId, bool deleted, int companyId) { LfsAssetSewerGateway lfsAssetSewerGateway = new LfsAssetSewerGateway(new DataSet()); lfsAssetSewerGateway.Insert(assetId, deleted, companyId); }
/// <summary> /// DeleteDirect /// </summary> /// <param name="originalAssetId">originalAssetId</param> /// <param name="originalCompanyId">originalCompanyId</param> public void DeleteDirect(int originalAssetId, int originalCompanyId) { LfsAssetSewerGateway lfsAssetSewerGateway = new LfsAssetSewerGateway(Data); lfsAssetSewerGateway.Delete(originalAssetId, originalCompanyId); }