//
//  AssetInventoryService.h
//  EAMiPad
//
//  Created by Lakshmi Kothapalli on 8/8/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "R5ASSETINVENTORYRESULTS.h"

@interface AssetInventoryConnectedModeService : NSObject

-(BOOL)addAssetInventory:(R5ASSETINVENTORYRESULTS *)assetResults;
-(BOOL)updateAssetInventory:(R5ASSETINVENTORYRESULTS *)assetResults;
//this is for connected mode after the grid change for AIR_RECORDID we can remove saving into database in connected mode
-(NSMutableArray *)getAsset:(int)sessionID;
-(R5ASSETINVENTORYRESULTS *)getAssetInventoryResult:(NSString *)assetID forSessionID:(int)sessionID;
-(BOOL)deleteAssetInventory:(R5ASSETINVENTORYRESULTS *)assetResults;

@end
