30 lines
595 B
C#
30 lines
595 B
C#
namespace CRIF.ACTion.Loan.Individuals
|
|
{
|
|
public static class MaritalStatus
|
|
{
|
|
public static string GetMaritalStatusCode(bool isMarried)
|
|
{
|
|
if (isMarried)
|
|
{
|
|
return "M";
|
|
}
|
|
else
|
|
{
|
|
return "U";
|
|
}
|
|
}
|
|
|
|
public static string GetMaritalStatusName(bool isMarried)
|
|
{
|
|
if (isMarried)
|
|
{
|
|
return "Married";
|
|
}
|
|
else
|
|
{
|
|
return "Unmarried";
|
|
}
|
|
}
|
|
}
|
|
}
|