EFB/Models/ResponseModel.cs
luke-else d3970fba18 Updated API Interface
Updated API Interface to incorporate a new response model in order to simplify responses and make error handling easier.
2021-11-07 21:30:31 +00:00

16 lines
337 B
C#

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