38 lines
869 B
C#
38 lines
869 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace WCFPrendarioSeguros.Entidades.Objects.Response
|
|||
|
|
{
|
|||
|
|
public class GenericResponse
|
|||
|
|
{
|
|||
|
|
private string _error_message { get; set; }
|
|||
|
|
private string _error_code { get; set; }
|
|||
|
|
|
|||
|
|
public string error_message
|
|||
|
|
{
|
|||
|
|
get
|
|||
|
|
{
|
|||
|
|
return string.IsNullOrEmpty(_error_message) ? "Success" : _error_message;
|
|||
|
|
}
|
|||
|
|
set
|
|||
|
|
{
|
|||
|
|
this._error_message = value;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
public string error_code
|
|||
|
|
{
|
|||
|
|
get
|
|||
|
|
{
|
|||
|
|
return string.IsNullOrEmpty(_error_code) ? "00" : _error_code;
|
|||
|
|
}
|
|||
|
|
set
|
|||
|
|
{
|
|||
|
|
this._error_code = value;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|