Added Locations Create CRUD element, Updated Locations LDAP service methods

This commit is contained in:
2025-10-08 21:06:04 +02:00
parent 0ed9397280
commit ba7cde8adb
5 changed files with 82 additions and 54 deletions

View File

@@ -1,10 +1,12 @@
namespace Berufsschule_HAM.Models;
public class LocationsCreateRequestModel
{
public required LocationsDescription LocationsDescription { get; set; }
}
public class LocationsModifyRequestModel
{
public required string Cn { get; set; }
public string? NewCn { get; set; } = null;
public LocationsDescription? Description { get; set; } = null;
public string? Location { get; set; } = null;
public string? Street { get; set; } = null;
public required string Location { get; set; }
public required LocationsDescription Description { get; set; }
}