feat(auth): AD-Authentifizierungsprüfung hinzugefügt

This commit is contained in:
Developer 02
2024-04-02 15:02:07 +02:00
parent fa66e7ba0d
commit 59619702ab
56 changed files with 47 additions and 34 deletions

View File

@@ -66,7 +66,7 @@ namespace DigitalData.Core.API
/// <param name="id">The identifier of the entity to retrieve.</param>
/// <returns>A task that represents the asynchronous read operation. The task result contains the action result.</returns>
[HttpGet("{id}")]
public virtual async Task<IActionResult> GetById([FromRoute]TId id)
public virtual async Task<IActionResult> GetById([FromRoute] TId id)
{
var result = await _service.ReadByIdAsync(id);
if (result.IsSuccess)
@@ -113,7 +113,7 @@ namespace DigitalData.Core.API
/// <param name="id">The identifier of the entity to delete.</param>
/// <returns>A task that represents the asynchronous delete operation. The task result contains the action result.</returns>
[HttpDelete("{id}")]
public virtual async Task<IActionResult> Delete([FromRoute]TId id)
public virtual async Task<IActionResult> Delete([FromRoute] TId id)
{
var result = await _service.DeleteAsyncById(id);
if (result.IsSuccess)