public void ActivateFixedAsset(FixedAsset fixedAsset) { var command = new ActivateFixedAssetCommand { FixedAsset = fixedAsset }; processXml.Process(command.ToXml()); }
public FixedAsset ReadFixedAsset(string fixedAssetType, string fixedAssetCode) { var command = new ReadFixedAssetCommand { Office = session.Office, FixedAssetType = fixedAssetType, FixedAssetCode = fixedAssetCode }; var response = processXml.Process(command.ToXml()); return(FixedAsset.FromXml(response)); }
public bool WriteFixedAsset(FixedAsset fixedAsset) { var response = processXml.Process(fixedAsset.ToXml()); return(response.IsSuccess()); }