From dbbe07405b03486b2f2995c06f122273f25c5c53 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Wed, 23 Oct 2024 17:04:36 +0200 Subject: [PATCH] =?UTF-8?q?feat(Application):=20Crud-Service-Schnittstelle?= =?UTF-8?q?n=20f=C3=BCr=20Config,=20ProfileControlsTF,=20ProfileObjState,?= =?UTF-8?q?=20Profile=20und=20State=20erstellt.=20=20-=20IUnique-Schnittst?= =?UTF-8?q?ellen=20f=C3=BCr=20ProfileControlsTFUpdateDto,=20ProfileObjStat?= =?UTF-8?q?eUpdateDto=20und=20StateUpdateDto=20implementiert.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WorkFlow.Application/Contracts/IConfigService.cs | 10 ++++++++++ .../Contracts/IProfileControlsTFService.cs | 10 ++++++++++ .../Contracts/IProfileObjStateService.cs | 10 ++++++++++ WorkFlow.Application/Contracts/IProfileService.cs | 10 ++++++++++ WorkFlow.Application/Contracts/IStateService.cs | 10 ++++++++++ .../ProfileControlsTF/ProfileControlsTFUpdateDto.cs | 6 ++++-- .../DTO/ProfileObjState/ProfileObjStateUpdateDto.cs | 6 ++++-- WorkFlow.Application/DTO/State/StateUpdateDto.cs | 6 ++++-- 8 files changed, 62 insertions(+), 6 deletions(-) create mode 100644 WorkFlow.Application/Contracts/IConfigService.cs create mode 100644 WorkFlow.Application/Contracts/IProfileControlsTFService.cs create mode 100644 WorkFlow.Application/Contracts/IProfileObjStateService.cs create mode 100644 WorkFlow.Application/Contracts/IProfileService.cs create mode 100644 WorkFlow.Application/Contracts/IStateService.cs diff --git a/WorkFlow.Application/Contracts/IConfigService.cs b/WorkFlow.Application/Contracts/IConfigService.cs new file mode 100644 index 0000000..f50c00d --- /dev/null +++ b/WorkFlow.Application/Contracts/IConfigService.cs @@ -0,0 +1,10 @@ +using DigitalData.Core.Abstractions.Application; +using WorkFlow.Application.DTO.Config; +using WorkFlow.Domain.Entities; + +namespace WorkFlow.Application.Contracts +{ + public interface IConfigService : ICRUDService + { + } +} \ No newline at end of file diff --git a/WorkFlow.Application/Contracts/IProfileControlsTFService.cs b/WorkFlow.Application/Contracts/IProfileControlsTFService.cs new file mode 100644 index 0000000..4e8385f --- /dev/null +++ b/WorkFlow.Application/Contracts/IProfileControlsTFService.cs @@ -0,0 +1,10 @@ +using DigitalData.Core.Abstractions.Application; +using WorkFlow.Application.DTO.ProfileControlsTF; +using WorkFlow.Domain.Entities; + +namespace WorkFlow.Application.Contracts +{ + public interface IProfileControlsTFService : ICRUDService + { + } +} \ No newline at end of file diff --git a/WorkFlow.Application/Contracts/IProfileObjStateService.cs b/WorkFlow.Application/Contracts/IProfileObjStateService.cs new file mode 100644 index 0000000..5393b6b --- /dev/null +++ b/WorkFlow.Application/Contracts/IProfileObjStateService.cs @@ -0,0 +1,10 @@ +using DigitalData.Core.Abstractions.Application; +using WorkFlow.Application.DTO.ProfileObjState; +using WorkFlow.Domain.Entities; + +namespace WorkFlow.Application.Contracts +{ + public interface IProfileObjStateService : ICRUDService + { + } +} \ No newline at end of file diff --git a/WorkFlow.Application/Contracts/IProfileService.cs b/WorkFlow.Application/Contracts/IProfileService.cs new file mode 100644 index 0000000..8b4260a --- /dev/null +++ b/WorkFlow.Application/Contracts/IProfileService.cs @@ -0,0 +1,10 @@ +using DigitalData.Core.Abstractions.Application; +using WorkFlow.Application.DTO.Profile; +using WorkFlow.Domain.Entities; + +namespace WorkFlow.Application.Contracts +{ + public interface IProfileService : ICRUDService + { + } +} \ No newline at end of file diff --git a/WorkFlow.Application/Contracts/IStateService.cs b/WorkFlow.Application/Contracts/IStateService.cs new file mode 100644 index 0000000..81f2493 --- /dev/null +++ b/WorkFlow.Application/Contracts/IStateService.cs @@ -0,0 +1,10 @@ +using DigitalData.Core.Abstractions.Application; +using WorkFlow.Application.DTO.State; +using WorkFlow.Domain.Entities; + +namespace WorkFlow.Application.Contracts +{ + public interface IStateService : ICRUDService + { + } +} \ No newline at end of file diff --git a/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFUpdateDto.cs b/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFUpdateDto.cs index 231b42d..ad8784f 100644 --- a/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFUpdateDto.cs +++ b/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFUpdateDto.cs @@ -1,7 +1,9 @@ -namespace WorkFlow.Application.DTO.ProfileControlsTF +using DigitalData.Core.Abstractions; + +namespace WorkFlow.Application.DTO.ProfileControlsTF { /// /// This Data Transfer Object (DTO) serves as a placeholder and does not support updates. /// - public record ProfileControlsTFUpdateDto; + public record ProfileControlsTFUpdateDto(int Id) : IUnique; } \ No newline at end of file diff --git a/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateUpdateDto.cs b/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateUpdateDto.cs index 0deb93d..e1f6d18 100644 --- a/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateUpdateDto.cs +++ b/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateUpdateDto.cs @@ -1,7 +1,9 @@ -namespace WorkFlow.Application.DTO.ProfileObjState +using DigitalData.Core.Abstractions; + +namespace WorkFlow.Application.DTO.ProfileObjState { /// /// This Data Transfer Object (DTO) serves as a placeholder and does not support updates. /// - public record ProfileObjStateUpdateDto; + public record ProfileObjStateUpdateDto(int Id) : IUnique; } \ No newline at end of file diff --git a/WorkFlow.Application/DTO/State/StateUpdateDto.cs b/WorkFlow.Application/DTO/State/StateUpdateDto.cs index 48d5f03..7f89596 100644 --- a/WorkFlow.Application/DTO/State/StateUpdateDto.cs +++ b/WorkFlow.Application/DTO/State/StateUpdateDto.cs @@ -1,7 +1,9 @@ -namespace WorkFlow.Application.DTO.State +using DigitalData.Core.Abstractions; + +namespace WorkFlow.Application.DTO.State { /// /// This Data Transfer Object (DTO) serves as a placeholder and does not support updates. /// - public record StateUpdateDto; + public record StateUpdateDto(int Id) : IUnique; } \ No newline at end of file