namespace Berufsschule_HAM.Models;

public class LocationsDeleteResponseModel(bool successful, string exception = "None")
{
    public bool Success { get; set; } = successful;

    public string? Exception { get; set; } = exception;
}

public class LocationsGetAllResponseModel
{
    public required IEnumerable<LocationModel> Locations { get; set; }
}

public class LocationsCreateResponseModel
{
    public required bool Success { get; set; }
    public string? ErrorMessage { get; set; }
}

public class LocationsUpdateResponseModel
{
    public required bool Success { get; set; }
    public string? ErrorMessage { get; set; }
}
