// //////////////////////////////////////////////////////////////////////// // 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) { LfsAssetGateway lfsAssetGateway = new LfsAssetGateway(new DataSet()); lfsAssetGateway.Insert(assetId, deleted, companyId); }
/// <summary> /// DeleteDirect /// </summary> /// <param name="originalAssetId">originalAssetId</param> /// <param name="originalCompanyId">originalCompanyId</param> public void DeleteDirect(int originalAssetId, int originalCompanyId) { LfsAssetGateway lfsAssetGateway = new LfsAssetGateway(Data); lfsAssetGateway.Delete(originalAssetId, originalCompanyId); }