2021-11-07 21:30:31 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace EFB.Models
|
|
|
|
{
|
2021-12-28 21:53:31 +00:00
|
|
|
public class ResponseModel<T>
|
2021-11-07 21:30:31 +00:00
|
|
|
{
|
|
|
|
//Object should be of known type from sender
|
2021-12-28 21:53:31 +00:00
|
|
|
public T Result { get; set; } = default(T);
|
2021-11-07 21:30:31 +00:00
|
|
|
public string Error { get; set; } = null;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|