mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 23:11:54 +00:00
Add dedicated Models and improved logging for loactions Controller
This commit is contained in:
@@ -16,9 +16,8 @@ public class LocationsModifyRequestModel
|
||||
public required LocationsDescription Description { get; set; }
|
||||
}
|
||||
|
||||
public class LocationsDeleteRequestModel(bool successful, string exception = "None")
|
||||
public class LocationsDeleteRequestModel
|
||||
{
|
||||
public bool Success { get; set; } = successful;
|
||||
|
||||
public string? Exception { get; set; } = exception;
|
||||
[JsonPropertyName("cn")]
|
||||
public required string Cn { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user