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.
27 lines
639 B
27 lines
639 B
namespace CounsellorBL.BLStructure
|
|
{
|
|
public class ErrorPack
|
|
{
|
|
public ErrorPack()
|
|
{
|
|
}
|
|
|
|
public ErrorPack(string i_sErrorCode)
|
|
{
|
|
ErrorCode = i_sErrorCode;
|
|
ErrorMsg = i_sErrorCode;
|
|
}
|
|
|
|
public ErrorPack(string i_sErrorCode, string i_sErrorMsg)
|
|
{
|
|
ErrorCode = i_sErrorCode;
|
|
ErrorMsg = i_sErrorMsg;
|
|
}
|
|
|
|
public string ErrorCode { get; set; }
|
|
|
|
public string ErrorMsg { get; set; }
|
|
|
|
public bool IsSucces { get { return string.IsNullOrEmpty(ErrorCode) && string.IsNullOrEmpty(ErrorMsg); } }
|
|
}
|
|
}
|