vnorder / com.venuenext.vnorder.seats.data / SectionRepository

SectionRepository

class SectionRepository

SectionRepository VenueNext

Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Constructors

<init>

SectionRepository VenueNext

SectionRepository(context: Context)

Properties

context

var context: Context

sectionDao

val sectionDao: SectionDao

venueNextDB

val venueNextDB: VenueNextDatabase

Functions

count

fun count(): Int

deleteSection

fun deleteSection(sectionUUID: String): Deferred<Unit>

getSections

fun getSections(): LiveData<List<Section>>

insertSection

fun insertSection(section: Section): Deferred<Unit>

insertSections

fun insertSections(sections: List<Section>): Deferred<Unit>