feat(Application): Crud-Service-Schnittstellen für Config, ProfileControlsTF, ProfileObjState, Profile und State erstellt.
- IUnique-Schnittstellen für ProfileControlsTFUpdateDto, ProfileObjStateUpdateDto und StateUpdateDto implementiert.
This commit is contained in:
parent
908dd6f170
commit
dbbe07405b
10
WorkFlow.Application/Contracts/IConfigService.cs
Normal file
10
WorkFlow.Application/Contracts/IConfigService.cs
Normal file
@ -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<ConfigCreateDto, ConfigDto, ConfigUpdateDto, Config, int>
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
10
WorkFlow.Application/Contracts/IProfileControlsTFService.cs
Normal file
10
WorkFlow.Application/Contracts/IProfileControlsTFService.cs
Normal file
@ -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<ProfileControlsTFCreateDto, ProfileControlsTFDto, ProfileControlsTFUpdateDto, ProfileControlsTF, int>
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
10
WorkFlow.Application/Contracts/IProfileObjStateService.cs
Normal file
10
WorkFlow.Application/Contracts/IProfileObjStateService.cs
Normal file
@ -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<ProfileObjStateCreateDto, ProfileObjStateDto, ProfileObjStateUpdateDto, ProfileObjState, int>
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
10
WorkFlow.Application/Contracts/IProfileService.cs
Normal file
10
WorkFlow.Application/Contracts/IProfileService.cs
Normal file
@ -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<ProfileCreateDto, ProfileDto, ProfileUpdateDto, Profile, int>
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
10
WorkFlow.Application/Contracts/IStateService.cs
Normal file
10
WorkFlow.Application/Contracts/IStateService.cs
Normal file
@ -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<StateCreateDto, StateDto, StateUpdateDto, State, int>
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,7 +1,9 @@
|
|||||||
namespace WorkFlow.Application.DTO.ProfileControlsTF
|
using DigitalData.Core.Abstractions;
|
||||||
|
|
||||||
|
namespace WorkFlow.Application.DTO.ProfileControlsTF
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This Data Transfer Object (DTO) serves as a placeholder and does not support updates.
|
/// This Data Transfer Object (DTO) serves as a placeholder and does not support updates.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public record ProfileControlsTFUpdateDto;
|
public record ProfileControlsTFUpdateDto(int Id) : IUnique<int>;
|
||||||
}
|
}
|
||||||
@ -1,7 +1,9 @@
|
|||||||
namespace WorkFlow.Application.DTO.ProfileObjState
|
using DigitalData.Core.Abstractions;
|
||||||
|
|
||||||
|
namespace WorkFlow.Application.DTO.ProfileObjState
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This Data Transfer Object (DTO) serves as a placeholder and does not support updates.
|
/// This Data Transfer Object (DTO) serves as a placeholder and does not support updates.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public record ProfileObjStateUpdateDto;
|
public record ProfileObjStateUpdateDto(int Id) : IUnique<int>;
|
||||||
}
|
}
|
||||||
@ -1,7 +1,9 @@
|
|||||||
namespace WorkFlow.Application.DTO.State
|
using DigitalData.Core.Abstractions;
|
||||||
|
|
||||||
|
namespace WorkFlow.Application.DTO.State
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This Data Transfer Object (DTO) serves as a placeholder and does not support updates.
|
/// This Data Transfer Object (DTO) serves as a placeholder and does not support updates.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public record StateUpdateDto;
|
public record StateUpdateDto(int Id) : IUnique<int>;
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user