diff --git a/backend/api/Services/AreaService.cs b/backend/api/Services/AreaService.cs index efcc4cc1c..3c2f5b1a5 100644 --- a/backend/api/Services/AreaService.cs +++ b/backend/api/Services/AreaService.cs @@ -82,7 +82,7 @@ public async Task> ReadByInstallation(string installationCode) return await GetAreas().Where(a => a.Installation.Id.Equals(installation.Id)).ToListAsync(); } - public async Task Create(CreateAreaQuery newAreaQuery, List positions) + public async Task Create(CreateAreaQuery newAreaQuery) { var installation = await installationService.ReadByInstallationCode(newAreaQuery.InstallationCode, readOnly: true) ?? @@ -130,12 +130,6 @@ public async Task Create(CreateAreaQuery newAreaQuery, List position return newArea; } - public async Task Create(CreateAreaQuery newArea) - { - var area = await Create(newArea, []); - return area; - } - public async Task Update(Area area) { var entry = context.Update(area);