public void ActivateAssetMethod(AssetMethod assetMethod) { var command = new ActivateAssetMethodCommand { AssetMethod = assetMethod }; processXml.Process(command.ToXml()); }
public AssetMethod ReadAssetMethod(string assetMethodType, string assetMethodCode) { var command = new ReadAssetMethodCommand { Office = session.Office, AssetMethodType = assetMethodType, AssetMethodCode = assetMethodCode }; var response = processXml.Process(command.ToXml()); return(AssetMethod.FromXml(response)); }
public bool WriteAssetMethod(AssetMethod assetMethod) { var response = processXml.Process(assetMethod.ToXml()); return(response.IsSuccess()); }