feat(auth): AD-Authentifizierungsprüfung hinzugefügt
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user