You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
746 B
31 lines
746 B
|
|
namespace DealerSelection.Api.Models;
|
|
public class Response
|
|
{
|
|
public Response(int buId,int recordId, bool isRequestSuccessfull, string result, string message, string errorCode)
|
|
{
|
|
BuId = buId;
|
|
RecordId = recordId;
|
|
IsRequestSuccessfull = isRequestSuccessfull;
|
|
Result = result;
|
|
Message = message;
|
|
ErrorCode = errorCode;
|
|
}
|
|
public bool IsRequestSuccessfull { get; }
|
|
public string Result { get; }
|
|
public string Message { get; }
|
|
public string ErrorCode { get; }
|
|
public int RecordId { get; }
|
|
public int BuId { get; }
|
|
|
|
}
|
|
public enum ErrorCode
|
|
{
|
|
successErrorCode = 01,
|
|
successWithLookupErrorCode = 02,
|
|
awaitedErrorCode = 03,
|
|
noRecordFound = 04
|
|
|
|
}
|
|
|
|
|