/// <summary> /// Retrieves Get Maximum Id of Inventory /// </summary> /// <returns>Int32 type object</returns> public Int32 GetMaxId() { using (InventoryDataAccess data = new InventoryDataAccess(ClientContext)) { return(data.GetMaxId()); } }