Added avalonia integration and remote proof of concept
This commit is contained in:
parent
775080a178
commit
4a0973b681
23 changed files with 2043 additions and 6 deletions
15
Catalog.Communication/Models/UploadImageResponse.cs
Normal file
15
Catalog.Communication/Models/UploadImageResponse.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Catalog.Communication.Models;
|
||||
|
||||
public sealed class UploadImageResponse
|
||||
{
|
||||
[JsonPropertyName("result")]
|
||||
public bool Result { get; init; }
|
||||
|
||||
[JsonPropertyName("message")]
|
||||
public string Message { get; init; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("imgPath")]
|
||||
public string ImgPath { get; init; } = string.Empty;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue