mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Rename Index calls to get or getall
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user