Fixed DRY violations regarding result models

This commit is contained in:
2025-12-25 14:55:30 +01:00
parent 7298593341
commit cc93a76546
4 changed files with 32 additions and 103 deletions

View File

@@ -2,14 +2,8 @@ using System.Text.Json.Serialization;
namespace Shared.Models;
public class ServerGetModelsResult
public class ServerGetModelsResult : SuccesMessageBaseModel
{
[JsonPropertyName("Success")]
public required bool Success { get; set; }
[JsonPropertyName("Message")]
public string? Message { get; set; }
[JsonPropertyName("Models")]
public string[]? Models { get; set; }
}