Rename Index calls to get or getall

This commit is contained in:
anomny
2025-11-03 19:06:08 +01:00
parent a74be66e47
commit dcd79d215c
6 changed files with 10 additions and 10 deletions

View File

@@ -2,7 +2,7 @@ using System.Text.Json.Serialization;
namespace Berufsschule_HAM.Models;
public class GroupsIndexRequestModel
public class GroupsGetRequestModel
{
public string? Cn { get; set; }
public bool GidNumber { get; set; } = true;

View File

@@ -7,7 +7,7 @@ public class LocationsDeleteResponseModel(bool successful, string exception = "N
public string? Exception { get; set; } = exception;
}
public class LocationsIndexResponseModel
public class LocationsGetAllResponseModel
{
public required IEnumerable<LocationModel> Locations { get; set; }
}

View File

@@ -2,7 +2,7 @@ using System.Text.Json.Serialization;
namespace Berufsschule_HAM.Models;
public class UsersIndexRequestModel
public class UsersGetAllRequestModel
{
public string? Uid { get; set; } = null;
public bool Cn { get; set; } = true;