Fixed DRY violations regarding result models
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user