Adding
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
||||
using LCU.Library.Internal.ApiResponse.Models;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace LCU.Library.Internal.MemberPreferencesApiModels.Responses
|
||||
{
|
||||
public class RequestResponse
|
||||
{
|
||||
public RequestResponse()
|
||||
{
|
||||
MessageStack = new List<string>();
|
||||
IsSuccessful = true;
|
||||
ReturnResponse = null;
|
||||
}
|
||||
public RequestResponse(ReturnResponse response)
|
||||
{
|
||||
MessageStack = new List<string>();
|
||||
IsSuccessful = true;
|
||||
ReturnResponse = response;
|
||||
}
|
||||
public RequestResponse(ReturnResponse response, bool success, List<string> messages)
|
||||
{
|
||||
MessageStack = messages;
|
||||
IsSuccessful = success;
|
||||
ReturnResponse = response;
|
||||
}
|
||||
|
||||
public List<string> MessageStack { get; set; }
|
||||
public bool IsSuccessful { get; set; }
|
||||
public ReturnResponse ReturnResponse { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user