Esempio n. 1
0
    private void GetMaritalStatus()
    {
        List <MaritalStatus> maritalStatuses = CustomerBAL.GetMaritalStatus();

        if ((maritalStatuses != null) && maritalStatuses.Count > 0)
        {
            Response.Write(maritalStatuses.ToJSON());
        }
        else
        {
            Response.Write("No Result");
        }
    }