EFB/Models/ResponseModel.cs
Luke Else 5a2f109e65 Added Poll response function
JSON is not properly serialised... still in progress
2021-12-28 21:53:31 +00:00

15 lines
332 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EFB.Models
{
public class ResponseModel<T>
{
//Object should be of known type from sender
public T Result { get; set; } = default(T);
public string Error { get; set; } = null;
}
}