public async Task <entities.AbsenceExport> AddRandomAbsenceExport(string id, int unitId, int localId)
        {
            var absenceExport = new entities.AbsenceExport
            {
                Id             = id,
                UnitId         = unitId,
                LocalAbsenceId = localId
            };

            await AddAbsenceExport(absenceExport);

            return(absenceExport);
        }
 public async Task AddAbsenceExport(entities.AbsenceExport absenceExport)
 {
     _db.AbsenceExports.Add(absenceExport);
     await _db.SaveChangesAsync();
 }