class IncidentService extends RecordService {

    public Incident deleteByRecordId(long recordId) {
        Incident deleteIncident = incidentDao.getIncidentById(recordId);
        if (deleteIncident != null && !deleteIncident.isSynced()) {
            return null;
        }
        incidentDao.delete(deleteIncident);
        return deleteIncident;
    }

    public  IncidentService();
    public  IncidentService(IncidentDao incidentDao);

}