using Berufsschule_HAM.Models;

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

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

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

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

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

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

public class AssetsIndexResponseModel(bool successful, IEnumerable<AssetModel>? assetsModel = null, string exception = "None")
{
    public bool Success { get; set; } = successful;

    public IEnumerable<AssetModel>? AssetsModel { get; set; } = assetsModel;

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

