package com.thebluealliance.androidclient.database.writers;
import com.thebluealliance.androidclient.database.Database;
import com.thebluealliance.androidclient.models.District;
import android.support.annotation.WorkerThread;
import javax.inject.Inject;
public class DistrictWriter extends BaseDbWriter<District> {
@Inject
public DistrictWriter(Database db) {
super(db);
}
@Override
@WorkerThread
public void write(District district, Long lastModified) {
mDb.getDistrictsTable().add(district, lastModified);
}
}